<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.openoffice.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mechtilde</id>
	<title>Apache OpenOffice Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.openoffice.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mechtilde"/>
	<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/wiki/Special:Contributions/Mechtilde"/>
	<updated>2026-11-24T22:24:24Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.14</generator>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=UpdateTranslation.sh&amp;diff=250556</id>
		<title>UpdateTranslation.sh</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=UpdateTranslation.sh&amp;diff=250556"/>
		<updated>2022-08-28T18:21:40Z</updated>

		<summary type="html">&lt;p&gt;Mechtilde: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
# Update translation&lt;br /&gt;
#&lt;br /&gt;
# License:   Apache-2.0&lt;br /&gt;
#  Licensed to the Apache Software Foundation (ASF) under one&lt;br /&gt;
#  or more contributor license agreements.&lt;br /&gt;
#  The ASF licenses this file  to you under the Apache License,&lt;br /&gt;
#  Version 2.0 (the &amp;quot;License&amp;quot;); you may not use this file except&lt;br /&gt;
#  in compliance with the License. You may obtain a copy of the&lt;br /&gt;
#  License at&lt;br /&gt;
#&lt;br /&gt;
#  http://www.apache.org/licenses/LICENSE-2.0&lt;br /&gt;
#&lt;br /&gt;
#  Unless required by applicable law or agreed to in writing,&lt;br /&gt;
#  software distributed under the License is distributed on an&lt;br /&gt;
#  &amp;quot;AS IS&amp;quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY&lt;br /&gt;
#  KIND, either express or implied.  See the License for the&lt;br /&gt;
#  specific language governing permissions and limitations&lt;br /&gt;
#  under the License.&lt;br /&gt;
&lt;br /&gt;
# Authors: Michael Stehmann   &amp;lt;mikeadvo@apache.org&amp;gt;&lt;br /&gt;
#          Mechtilde Stehmann &amp;lt;mechtilde@apache.org&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Logging error messages&lt;br /&gt;
LOG_PATH=/home/mechtilde/log&lt;br /&gt;
LOG_FILE=${LOG_PATH}/UpdateTranslation.log&lt;br /&gt;
exec 2&amp;gt;&amp;gt; ${LOG_FILE}&lt;br /&gt;
echo $(date +%Y-%m-%d-%H%M%S) &amp;gt;&amp;gt; ${LOG_FILE}&lt;br /&gt;
echo &amp;quot;Messages from &amp;quot;$0 &amp;gt;&amp;gt; ${LOG_FILE}&lt;br /&gt;
&lt;br /&gt;
# Newer pootle versions run inside a virtual environment&lt;br /&gt;
VIRTUAL_ENV=/x1/www/pootle/env&lt;br /&gt;
POOTLE_SETTINGS=${VIRTUAL_ENV}/pootle.conf&lt;br /&gt;
POOTLE_TRANSLATION_DIRECTORY=/x1/www/po&lt;br /&gt;
PYTHONPATH=${VIRTUAL_ENV}/lib/python2.7/site-packages&lt;br /&gt;
PATH=&amp;quot;$VIRTUAL_ENV/bin:$PATH&amp;quot;&lt;br /&gt;
&lt;br /&gt;
export VIRTUAL_ENV&lt;br /&gt;
export PATH&lt;br /&gt;
export POOTLE_SETTINGS&lt;br /&gt;
export PYTHONPATH&lt;br /&gt;
&lt;br /&gt;
PROJECT_PATH=${POOTLE_TRANSLATION_DIRECTORY}&lt;br /&gt;
TEMPLATES_DIR=/x1/www/po/aoo40/templates&lt;br /&gt;
&lt;br /&gt;
# Directory of the pootle command&lt;br /&gt;
POOTLE_DIR=${VIRTUAL_ENV}/bin&lt;br /&gt;
&lt;br /&gt;
# Work directory&lt;br /&gt;
WORK_DIR=/home/mechtilde/aoo/workdir&lt;br /&gt;
&lt;br /&gt;
# Include the Language data&lt;br /&gt;
. /home/mechtilde/local/bin/langs.sh&lt;br /&gt;
echo ${LANGS}&lt;br /&gt;
&lt;br /&gt;
# If the (non-empty) file en-US.sdf is in ~/aoo/workdir:&lt;br /&gt;
if [ -s ${WORK_DIR}/en-US.sdf ]&lt;br /&gt;
then&lt;br /&gt;
	# To be carefull&lt;br /&gt;
#	rm -r ${WORK_DIR}/POT-UI/&lt;br /&gt;
#	rm -r ${WORK_DIR}/POT-HELP/helpcontent2&lt;br /&gt;
&lt;br /&gt;
#	mkdir -p ${WORK_DIR}/POT-UI&lt;br /&gt;
#	mkdir -p ${WORK_DIR}/POT-HELP&lt;br /&gt;
&lt;br /&gt;
	# Convert en-US.sdf to templates&lt;br /&gt;
#       ${POOTLE_DIR}/python ${POOTLE_DIR}/oo2po --progress=verbose --pot ${WORK_DIR}/en-US.sdf ${WORK_DIR}/POT-UI/&lt;br /&gt;
&lt;br /&gt;
	# Move helpcontent2 to POT-HELP to separate HELP from UI&lt;br /&gt;
#	mv ${WORK_DIR}/POT-UI/helpcontent2 ${WORK_DIR}/POT-HELP/&lt;br /&gt;
&lt;br /&gt;
	# Copy PotFiles-* to project directory&lt;br /&gt;
#	cp -rv ${WORK_DIR}/POT-UI/* ${PROJECT_PATH}/aoo40/templates/&lt;br /&gt;
#	cp -rv ${WORK_DIR}/POT-HELP/* ${PROJECT_PATH}/aoo40help/templates/&lt;br /&gt;
&lt;br /&gt;
	# Update the translation templates into the Pootle database&lt;br /&gt;
#        ${POOTLE_DIR}/python ${POOTLE_DIR}/pootle \&lt;br /&gt;
#        --config ${VIRTUAL_ENV}/pootle.conf \&lt;br /&gt;
#	update_stores --project=aoo40 --language=templates&lt;br /&gt;
#        ${POOTLE_DIR}/python ${POOTLE_DIR}/pootle \&lt;br /&gt;
#        --config ${VIRTUAL_ENV}/pootle.conf \&lt;br /&gt;
#	update_stores --project=aoo40help --language=templates&lt;br /&gt;
&lt;br /&gt;
	# Reconcile languages with templates&lt;br /&gt;
	for Language in ${LANGS}&lt;br /&gt;
	do&lt;br /&gt;
#		echo &amp;quot;Sync_stores UI &amp;quot;${Language} &amp;gt;&amp;gt; ${LOG_FILE}&lt;br /&gt;
#		echo $(date +%Y-%m-%d-%H%M%S) &amp;gt;&amp;gt; ${LOG_FILE}&lt;br /&gt;
&lt;br /&gt;
#        	${POOTLE_DIR}/python ${POTLE_DIR}/pootle \&lt;br /&gt;
#	        --config ${VIRTUAL_ENV}/pootle.conf \&lt;br /&gt;
#		sync_stores --project=aoo40 --language=${Language}&lt;br /&gt;
&lt;br /&gt;
#                echo &amp;quot;Pomerge UI &amp;quot;${Language} &amp;gt;&amp;gt; ${LOG_FILE}&lt;br /&gt;
#                echo $(date +%Y-%m-%d-%H%M%S) &amp;gt;&amp;gt; ${LOG_FILE}&lt;br /&gt;
&lt;br /&gt;
#		${POOTLE_DIR}/python ${POOTLE_DIR}/pomerge \&lt;br /&gt;
#		--template=${PROJECT_PATH}/aoo40/templates/ \&lt;br /&gt;
#		--input ${WORK_DIR}/aoo40/${Language}/ \&lt;br /&gt;
#		--output ${PROJECT_PATH}/aoo40/${Language}/&lt;br /&gt;
&lt;br /&gt;
#                echo &amp;quot;Update_stores UI &amp;quot;${Language} &amp;gt;&amp;gt; ${LOG_FILE}&lt;br /&gt;
#                echo $(date +%Y-%m-%d-%H%M%S) &amp;gt;&amp;gt; ${LOG_FILE}&lt;br /&gt;
&lt;br /&gt;
#		${POOTLE_DIR}/python ${POOTLE_DIR}/pootle \&lt;br /&gt;
#	        --config ${VIRTUAL_ENV}/pootle.conf \&lt;br /&gt;
#		update_stores --project=aoo40 --language=${Language}&lt;br /&gt;
&lt;br /&gt;
#		cp -r ${PROJECT_PATH}/aoo40/${Language} ${WORK_DIR}/aoo40/&lt;br /&gt;
&lt;br /&gt;
                echo &amp;quot;Sync_stores HELP &amp;quot;${Language} &amp;gt;&amp;gt; ${LOG_FILE}&lt;br /&gt;
                echo $(date +%Y-%m-%d-%H%M%S) &amp;gt;&amp;gt; ${LOG_FILE}&lt;br /&gt;
&lt;br /&gt;
		${POOTLE_DIR}/python ${POOTLE_DIR}/pootle \&lt;br /&gt;
	        --config ${VIRTUAL_ENV}/pootle.conf \&lt;br /&gt;
        	sync_stores --project=aoo40help --language=${Language}&lt;br /&gt;
&lt;br /&gt;
                echo &amp;quot;Pomerge HELP &amp;quot;${Language} &amp;gt;&amp;gt; ${LOG_FILE}&lt;br /&gt;
                echo $(date +%Y-%m-%d-%H%M%S) &amp;gt;&amp;gt; ${LOG_FILE}&lt;br /&gt;
&lt;br /&gt;
		${POOTLE_DIR}/python ${POOTLE_DIR}/pomerge \&lt;br /&gt;
	        --template=${PROJECT_PATH}/aoo40help/templates/ \&lt;br /&gt;
        	--input ${WORK_DIR}/aoo40help/${Language}/ \&lt;br /&gt;
        	--output ${PROJECT_PATH}/aoo40help/${Language}/&lt;br /&gt;
&lt;br /&gt;
                echo &amp;quot;Update_stores HELP &amp;quot;${Language} &amp;gt;&amp;gt; ${LOG_FILE}&lt;br /&gt;
                echo $(date +%Y-%m-%d-%H%M%S) &amp;gt;&amp;gt; ${LOG_FILE}&lt;br /&gt;
&lt;br /&gt;
	        ${POOTLE_DIR}/python ${POOTLE_DIR}/pootle \&lt;br /&gt;
	        --config ${VIRTUAL_ENV}/pootle.conf \&lt;br /&gt;
        	update_stores --project=aoo40help --language=${Language}&lt;br /&gt;
&lt;br /&gt;
		cp -r ${PROJECT_PATH}/aoo40help/${Language}/helpcontent2 \&lt;br /&gt;
		${WORK_DIR}/aoo40help/${Language}/&lt;br /&gt;
&lt;br /&gt;
		# Commands for updating git repository&lt;br /&gt;
		cd  ${WORK_DIR}&lt;br /&gt;
		git add . &lt;br /&gt;
		git commit -am &amp;quot;update $(date) ${Language} - Corrected Helpdir&amp;quot;&lt;br /&gt;
&lt;br /&gt;
                echo &amp;quot;Finished &amp;quot;${Language} &amp;gt;&amp;gt; ${LOG_FILE}&lt;br /&gt;
                echo $(date +%Y-%m-%d-%H%M%S) &amp;gt;&amp;gt; ${LOG_FILE}&lt;br /&gt;
&lt;br /&gt;
	done&lt;br /&gt;
fi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mechtilde</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=UpdateTranslation.sh&amp;diff=250555</id>
		<title>UpdateTranslation.sh</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=UpdateTranslation.sh&amp;diff=250555"/>
		<updated>2022-08-28T18:20:24Z</updated>

		<summary type="html">&lt;p&gt;Mechtilde: Created page with &amp;quot;#!/bin/bash # Update translation # # License:   Apache-2.0 #  Licensed to the Apache Software Foundation (ASF) under one #  or more contributor license agreements. #  The ASF...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#!/bin/bash&lt;br /&gt;
# Update translation&lt;br /&gt;
#&lt;br /&gt;
# License:   Apache-2.0&lt;br /&gt;
#  Licensed to the Apache Software Foundation (ASF) under one&lt;br /&gt;
#  or more contributor license agreements.&lt;br /&gt;
#  The ASF licenses this file  to you under the Apache License,&lt;br /&gt;
#  Version 2.0 (the &amp;quot;License&amp;quot;); you may not use this file except&lt;br /&gt;
#  in compliance with the License. You may obtain a copy of the&lt;br /&gt;
#  License at&lt;br /&gt;
#&lt;br /&gt;
#  http://www.apache.org/licenses/LICENSE-2.0&lt;br /&gt;
#&lt;br /&gt;
#  Unless required by applicable law or agreed to in writing,&lt;br /&gt;
#  software distributed under the License is distributed on an&lt;br /&gt;
#  &amp;quot;AS IS&amp;quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY&lt;br /&gt;
#  KIND, either express or implied.  See the License for the&lt;br /&gt;
#  specific language governing permissions and limitations&lt;br /&gt;
#  under the License.&lt;br /&gt;
&lt;br /&gt;
# Authors: Michael Stehmann   &amp;lt;mikeadvo@apache.org&amp;gt;&lt;br /&gt;
#          Mechtilde Stehmann &amp;lt;mechtilde@apache.org&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Logging error messages&lt;br /&gt;
LOG_PATH=/home/mechtilde/log&lt;br /&gt;
LOG_FILE=${LOG_PATH}/UpdateTranslation.log&lt;br /&gt;
exec 2&amp;gt;&amp;gt; ${LOG_FILE}&lt;br /&gt;
echo $(date +%Y-%m-%d-%H%M%S) &amp;gt;&amp;gt; ${LOG_FILE}&lt;br /&gt;
echo &amp;quot;Messages from &amp;quot;$0 &amp;gt;&amp;gt; ${LOG_FILE}&lt;br /&gt;
&lt;br /&gt;
# Newer pootle versions run inside a virtual environment&lt;br /&gt;
VIRTUAL_ENV=/x1/www/pootle/env&lt;br /&gt;
POOTLE_SETTINGS=${VIRTUAL_ENV}/pootle.conf&lt;br /&gt;
POOTLE_TRANSLATION_DIRECTORY=/x1/www/po&lt;br /&gt;
PYTHONPATH=${VIRTUAL_ENV}/lib/python2.7/site-packages&lt;br /&gt;
PATH=&amp;quot;$VIRTUAL_ENV/bin:$PATH&amp;quot;&lt;br /&gt;
&lt;br /&gt;
export VIRTUAL_ENV&lt;br /&gt;
export PATH&lt;br /&gt;
export POOTLE_SETTINGS&lt;br /&gt;
export PYTHONPATH&lt;br /&gt;
&lt;br /&gt;
PROJECT_PATH=${POOTLE_TRANSLATION_DIRECTORY}&lt;br /&gt;
TEMPLATES_DIR=/x1/www/po/aoo40/templates&lt;br /&gt;
&lt;br /&gt;
# Directory of the pootle command&lt;br /&gt;
POOTLE_DIR=${VIRTUAL_ENV}/bin&lt;br /&gt;
&lt;br /&gt;
# Work directory&lt;br /&gt;
WORK_DIR=/home/mechtilde/aoo/workdir&lt;br /&gt;
&lt;br /&gt;
# Include the Language data&lt;br /&gt;
. /home/mechtilde/local/bin/langs.sh&lt;br /&gt;
echo ${LANGS}&lt;br /&gt;
&lt;br /&gt;
# If the (non-empty) file en-US.sdf is in ~/aoo/workdir:&lt;br /&gt;
if [ -s ${WORK_DIR}/en-US.sdf ]&lt;br /&gt;
then&lt;br /&gt;
	# To be carefull&lt;br /&gt;
#	rm -r ${WORK_DIR}/POT-UI/&lt;br /&gt;
#	rm -r ${WORK_DIR}/POT-HELP/helpcontent2&lt;br /&gt;
&lt;br /&gt;
#	mkdir -p ${WORK_DIR}/POT-UI&lt;br /&gt;
#	mkdir -p ${WORK_DIR}/POT-HELP&lt;br /&gt;
&lt;br /&gt;
	# Convert en-US.sdf to templates&lt;br /&gt;
#       ${POOTLE_DIR}/python ${POOTLE_DIR}/oo2po --progress=verbose --pot ${WORK_DIR}/en-US.sdf ${WORK_DIR}/POT-UI/&lt;br /&gt;
&lt;br /&gt;
	# Move helpcontent2 to POT-HELP to separate HELP from UI&lt;br /&gt;
#	mv ${WORK_DIR}/POT-UI/helpcontent2 ${WORK_DIR}/POT-HELP/&lt;br /&gt;
&lt;br /&gt;
	# Copy PotFiles-* to project directory&lt;br /&gt;
#	cp -rv ${WORK_DIR}/POT-UI/* ${PROJECT_PATH}/aoo40/templates/&lt;br /&gt;
#	cp -rv ${WORK_DIR}/POT-HELP/* ${PROJECT_PATH}/aoo40help/templates/&lt;br /&gt;
&lt;br /&gt;
	# Update the translation templates into the Pootle database&lt;br /&gt;
#        ${POOTLE_DIR}/python ${POOTLE_DIR}/pootle \&lt;br /&gt;
#        --config ${VIRTUAL_ENV}/pootle.conf \&lt;br /&gt;
#	update_stores --project=aoo40 --language=templates&lt;br /&gt;
#        ${POOTLE_DIR}/python ${POOTLE_DIR}/pootle \&lt;br /&gt;
#        --config ${VIRTUAL_ENV}/pootle.conf \&lt;br /&gt;
#	update_stores --project=aoo40help --language=templates&lt;br /&gt;
&lt;br /&gt;
	# Reconcile languages with templates&lt;br /&gt;
	for Language in ${LANGS}&lt;br /&gt;
	do&lt;br /&gt;
#		echo &amp;quot;Sync_stores UI &amp;quot;${Language} &amp;gt;&amp;gt; ${LOG_FILE}&lt;br /&gt;
#		echo $(date +%Y-%m-%d-%H%M%S) &amp;gt;&amp;gt; ${LOG_FILE}&lt;br /&gt;
&lt;br /&gt;
#        	${POOTLE_DIR}/python ${POTLE_DIR}/pootle \&lt;br /&gt;
#	        --config ${VIRTUAL_ENV}/pootle.conf \&lt;br /&gt;
#		sync_stores --project=aoo40 --language=${Language}&lt;br /&gt;
&lt;br /&gt;
#                echo &amp;quot;Pomerge UI &amp;quot;${Language} &amp;gt;&amp;gt; ${LOG_FILE}&lt;br /&gt;
#                echo $(date +%Y-%m-%d-%H%M%S) &amp;gt;&amp;gt; ${LOG_FILE}&lt;br /&gt;
&lt;br /&gt;
#		${POOTLE_DIR}/python ${POOTLE_DIR}/pomerge \&lt;br /&gt;
#		--template=${PROJECT_PATH}/aoo40/templates/ \&lt;br /&gt;
#		--input ${WORK_DIR}/aoo40/${Language}/ \&lt;br /&gt;
#		--output ${PROJECT_PATH}/aoo40/${Language}/&lt;br /&gt;
&lt;br /&gt;
#                echo &amp;quot;Update_stores UI &amp;quot;${Language} &amp;gt;&amp;gt; ${LOG_FILE}&lt;br /&gt;
#                echo $(date +%Y-%m-%d-%H%M%S) &amp;gt;&amp;gt; ${LOG_FILE}&lt;br /&gt;
&lt;br /&gt;
#		${POOTLE_DIR}/python ${POOTLE_DIR}/pootle \&lt;br /&gt;
#	        --config ${VIRTUAL_ENV}/pootle.conf \&lt;br /&gt;
#		update_stores --project=aoo40 --language=${Language}&lt;br /&gt;
&lt;br /&gt;
#		cp -r ${PROJECT_PATH}/aoo40/${Language} ${WORK_DIR}/aoo40/&lt;br /&gt;
&lt;br /&gt;
                echo &amp;quot;Sync_stores HELP &amp;quot;${Language} &amp;gt;&amp;gt; ${LOG_FILE}&lt;br /&gt;
                echo $(date +%Y-%m-%d-%H%M%S) &amp;gt;&amp;gt; ${LOG_FILE}&lt;br /&gt;
&lt;br /&gt;
		${POOTLE_DIR}/python ${POOTLE_DIR}/pootle \&lt;br /&gt;
	        --config ${VIRTUAL_ENV}/pootle.conf \&lt;br /&gt;
        	sync_stores --project=aoo40help --language=${Language}&lt;br /&gt;
&lt;br /&gt;
                echo &amp;quot;Pomerge HELP &amp;quot;${Language} &amp;gt;&amp;gt; ${LOG_FILE}&lt;br /&gt;
                echo $(date +%Y-%m-%d-%H%M%S) &amp;gt;&amp;gt; ${LOG_FILE}&lt;br /&gt;
&lt;br /&gt;
		${POOTLE_DIR}/python ${POOTLE_DIR}/pomerge \&lt;br /&gt;
	        --template=${PROJECT_PATH}/aoo40help/templates/ \&lt;br /&gt;
        	--input ${WORK_DIR}/aoo40help/${Language}/ \&lt;br /&gt;
        	--output ${PROJECT_PATH}/aoo40help/${Language}/&lt;br /&gt;
&lt;br /&gt;
                echo &amp;quot;Update_stores HELP &amp;quot;${Language} &amp;gt;&amp;gt; ${LOG_FILE}&lt;br /&gt;
                echo $(date +%Y-%m-%d-%H%M%S) &amp;gt;&amp;gt; ${LOG_FILE}&lt;br /&gt;
&lt;br /&gt;
	        ${POOTLE_DIR}/python ${POOTLE_DIR}/pootle \&lt;br /&gt;
	        --config ${VIRTUAL_ENV}/pootle.conf \&lt;br /&gt;
        	update_stores --project=aoo40help --language=${Language}&lt;br /&gt;
&lt;br /&gt;
		cp -r ${PROJECT_PATH}/aoo40help/${Language}/helpcontent2 \&lt;br /&gt;
		${WORK_DIR}/aoo40help/${Language}/&lt;br /&gt;
&lt;br /&gt;
		# Commands for updating git repository&lt;br /&gt;
		cd  ${WORK_DIR}&lt;br /&gt;
		git add . &lt;br /&gt;
		git commit -am &amp;quot;update $(date) ${Language} - Corrected Helpdir&amp;quot;&lt;br /&gt;
&lt;br /&gt;
                echo &amp;quot;Finished &amp;quot;${Language} &amp;gt;&amp;gt; ${LOG_FILE}&lt;br /&gt;
                echo $(date +%Y-%m-%d-%H%M%S) &amp;gt;&amp;gt; ${LOG_FILE}&lt;br /&gt;
&lt;br /&gt;
	done&lt;br /&gt;
fi&lt;/div&gt;</summary>
		<author><name>Mechtilde</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Translation_from_4.2&amp;diff=250554</id>
		<title>Translation from 4.2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Translation_from_4.2&amp;diff=250554"/>
		<updated>2022-08-28T18:17:00Z</updated>

		<summary type="html">&lt;p&gt;Mechtilde: /* Steps to do it */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
This will be a brief documentation of the translation process&lt;br /&gt;
There are two steps to be done at different times of the translation process.&lt;br /&gt;
&lt;br /&gt;
== From GIT to Pootle Web Frontend ==&lt;br /&gt;
&lt;br /&gt;
In this step you prepare the recent code strings for translation. You prepare a template file with all strings that need to be translated. They will be imported into Pootle then.&lt;br /&gt;
&lt;br /&gt;
The following graphic shows it. Please click on it to get a larger one.&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:UpdateTranslation.png|Graphical illustration of the technical workflow of the update of the translation&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Steps to do it ===&lt;br /&gt;
&lt;br /&gt;
# Create a build system&lt;br /&gt;
#* You can use your preferred Operating System&lt;br /&gt;
#* You can use this [https://wiki.openoffice.org/wiki/Building Building Guide] and the [https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Step_by_step Step-by-Step Guide] to do it.&lt;br /&gt;
#*:&lt;br /&gt;
# Checkout the recent code base (normally the trunk branch)&lt;br /&gt;
#* &amp;#039;&amp;#039;git clone https://gitbox.apache.org/repos/asf/openoffice.git&amp;#039;&amp;#039; #(Since 2019-08.03)&lt;br /&gt;
#*:&lt;br /&gt;
# Build AOO successfully&lt;br /&gt;
#*:&lt;br /&gt;
# Repeat the first build preliminaries (autoconf, configure, bootstrap, source LinX86-64Env.Set.sh)&lt;br /&gt;
#*:&lt;br /&gt;
# Create the template as &amp;#039;&amp;#039;en-US.sdf&amp;#039;&amp;#039;&lt;br /&gt;
#* Command: &amp;#039;&amp;#039;localize -e -l en-US -f en-US.sdf&amp;#039;&amp;#039;&lt;br /&gt;
#*:&lt;br /&gt;
# Creating templates as POT-Files&lt;br /&gt;
#* Detailed description using [https://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/oo2po.html oo2po]&lt;br /&gt;
#* &amp;#039;&amp;#039;oo2po --progress=verbose --pot en-US.sdf PotFiles-UI&amp;#039;&amp;#039;&lt;br /&gt;
#* Now &amp;#039;&amp;#039;PotFiles-UI&amp;#039;&amp;#039; also contains &amp;#039;&amp;#039;helpcontent2&amp;#039;&amp;#039;. This is the content for the [[Localization_for_developers#Upload|separate project]] &amp;#039;&amp;#039;Apache OpenOffice 4.x Help&amp;#039;&amp;#039;. The subdirectory &amp;#039;&amp;#039;helpcontent2&amp;#039;&amp;#039; has to be moved into the directory &amp;#039;&amp;#039;PotFiles-HELP&amp;#039;&amp;#039;. &lt;br /&gt;
#*:&lt;br /&gt;
# Updating the database with the template files (UI and HELP)&lt;br /&gt;
#* Detailed description using [https://pootle.readthedocs.io/en/stable-2.5.1/server/commands.html#update-stores pootle update-stores]&lt;br /&gt;
#* To be prepared for creating new languages&lt;br /&gt;
#*:&lt;br /&gt;
# Merge templates with existing PO-Files for each language (UI and HELP)&lt;br /&gt;
#* Detailed description using [https://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/pomerge.html?highlight=pomerge pomerge]&lt;br /&gt;
#*:&lt;br /&gt;
The steps on the Pootle server can be done with the script [[UpdateTranslation.sh|UpdateTranslation.sh]]. &lt;br /&gt;
&lt;br /&gt;
# Copy the file &amp;#039;&amp;#039;en.US.sdf&amp;#039;&amp;#039; to the Pootle backend&lt;br /&gt;
#* You need an access to the Pootle server ([https://translate-vm.apache.org translate-vm.apache.org])&lt;br /&gt;
#* The Pootle server runs under Ubuntu, so you have to be familiar with GNU/Linux.&lt;br /&gt;
#*:&lt;br /&gt;
&lt;br /&gt;
Now the teams can translate the [https://translate.apache.org/projects/aoo40 AOO UI] and the [https://translate.apache.org/projects/aoo40help AOO HELP].&lt;br /&gt;
&lt;br /&gt;
== From Pootle Web Frontend to Git ==&lt;br /&gt;
&lt;br /&gt;
[[File:UebersetzungsProzess_Finish.png|90%|Graphical illustration of the technical workflow of the translation process]]&lt;br /&gt;
&lt;br /&gt;
=== Steps to do it ===&lt;br /&gt;
&lt;br /&gt;
# Synchronize translation database with PO-Files for each language (UI and HELP) &lt;br /&gt;
#* Detailed description using [https://pootle.readthedocs.io/en/stable-2.5.1/server/commands.html#sync-stores pootle sync_stores]&lt;br /&gt;
#*:&lt;br /&gt;
# Create SDF from PO files&lt;br /&gt;
#* Detailed description using [https://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/oo2po.html?highlight=po2oo po2oo]&lt;br /&gt;
#*:&lt;br /&gt;
# Test SDF files with &amp;#039;&amp;#039;gsicheck&amp;#039;&amp;#039;&lt;br /&gt;
#* This has to be done in a build environment after a successful build&lt;br /&gt;
#* Detailed description using [https://wiki.openoffice.org/wiki/Gsicheck#help gsicheck]&lt;br /&gt;
#* gsicheck -c -t -l ${Language} ${Language}/localize.sdf &lt;br /&gt;
#*:&lt;br /&gt;
# Commit new SDF files into the code&lt;br /&gt;
#*&lt;br /&gt;
#*:&lt;br /&gt;
&lt;br /&gt;
This can be done with scripts, too. The paths have to be adapted to the path&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- translation from/for? --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:DE]] &amp;lt;!-- author language --&amp;gt;&lt;br /&gt;
[[Category:EN]] &amp;lt;!-- text language --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mechtilde</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Translation_from_4.2&amp;diff=250553</id>
		<title>Translation from 4.2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Translation_from_4.2&amp;diff=250553"/>
		<updated>2022-08-28T18:15:06Z</updated>

		<summary type="html">&lt;p&gt;Mechtilde: /* Steps to do it */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
This will be a brief documentation of the translation process&lt;br /&gt;
There are two steps to be done at different times of the translation process.&lt;br /&gt;
&lt;br /&gt;
== From GIT to Pootle Web Frontend ==&lt;br /&gt;
&lt;br /&gt;
In this step you prepare the recent code strings for translation. You prepare a template file with all strings that need to be translated. They will be imported into Pootle then.&lt;br /&gt;
&lt;br /&gt;
The following graphic shows it. Please click on it to get a larger one.&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:UpdateTranslation.png|Graphical illustration of the technical workflow of the update of the translation&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Steps to do it ===&lt;br /&gt;
&lt;br /&gt;
# Create a build system&lt;br /&gt;
#* You can use your preferred Operating System&lt;br /&gt;
#* You can use this [https://wiki.openoffice.org/wiki/Building Building Guide] and the [https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Step_by_step Step-by-Step Guide] to do it.&lt;br /&gt;
#*:&lt;br /&gt;
# Checkout the recent code base (normally the trunk branch)&lt;br /&gt;
#* &amp;#039;&amp;#039;git clone https://gitbox.apache.org/repos/asf/openoffice.git&amp;#039;&amp;#039; #(Since 2019-08.03)&lt;br /&gt;
#*:&lt;br /&gt;
# Build AOO successfully&lt;br /&gt;
#*:&lt;br /&gt;
# Repeat the first build preliminaries (autoconf, configure, bootstrap, source LinX86-64Env.Set.sh)&lt;br /&gt;
#*:&lt;br /&gt;
# Create the template as &amp;#039;&amp;#039;en-US.sdf&amp;#039;&amp;#039;&lt;br /&gt;
#* Command: &amp;#039;&amp;#039;localize -e -l en-US -f en-US.sdf&amp;#039;&amp;#039;&lt;br /&gt;
#*:&lt;br /&gt;
# Creating templates as POT-Files&lt;br /&gt;
#* Detailed description using [https://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/oo2po.html oo2po]&lt;br /&gt;
#* &amp;#039;&amp;#039;oo2po --progress=verbose --pot en-US.sdf PotFiles-UI&amp;#039;&amp;#039;&lt;br /&gt;
#* Now &amp;#039;&amp;#039;PotFiles-UI&amp;#039;&amp;#039; also contains &amp;#039;&amp;#039;helpcontent2&amp;#039;&amp;#039;. This is the content for the [[Localization_for_developers#Upload|separate project]] &amp;#039;&amp;#039;Apache OpenOffice 4.x Help&amp;#039;&amp;#039;. The subdirectory &amp;#039;&amp;#039;helpcontent2&amp;#039;&amp;#039; has to be moved into the directory &amp;#039;&amp;#039;PotFiles-HELP&amp;#039;&amp;#039;. &lt;br /&gt;
#*:&lt;br /&gt;
# Updating the database with the template files (UI and HELP)&lt;br /&gt;
#* Detailed description using [https://pootle.readthedocs.io/en/stable-2.5.1/server/commands.html#update-stores pootle update-stores]&lt;br /&gt;
#* To be prepared for creating new languages&lt;br /&gt;
#*:&lt;br /&gt;
# Merge templates with existing PO-Files for each language (UI and HELP)&lt;br /&gt;
#* Detailed description using [https://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/pomerge.html?highlight=pomerge pomerge]&lt;br /&gt;
#*:&lt;br /&gt;
The steps on the Pootle server can be done with the script [[UpdateTranslation.sh UpdateTranslation.sh]]. &lt;br /&gt;
&lt;br /&gt;
# Copy the file &amp;#039;&amp;#039;en.US.sdf&amp;#039;&amp;#039; to the Pootle backend&lt;br /&gt;
#* You need an access to the Pootle server ([https://translate-vm.apache.org translate-vm.apache.org])&lt;br /&gt;
#* The Pootle server runs under Ubuntu, so you have to be familiar with GNU/Linux.&lt;br /&gt;
#*:&lt;br /&gt;
&lt;br /&gt;
Now the teams can translate the [https://translate.apache.org/projects/aoo40 AOO UI] and the [https://translate.apache.org/projects/aoo40help AOO HELP].&lt;br /&gt;
&lt;br /&gt;
== From Pootle Web Frontend to Git ==&lt;br /&gt;
&lt;br /&gt;
[[File:UebersetzungsProzess_Finish.png|90%|Graphical illustration of the technical workflow of the translation process]]&lt;br /&gt;
&lt;br /&gt;
=== Steps to do it ===&lt;br /&gt;
&lt;br /&gt;
# Synchronize translation database with PO-Files for each language (UI and HELP) &lt;br /&gt;
#* Detailed description using [https://pootle.readthedocs.io/en/stable-2.5.1/server/commands.html#sync-stores pootle sync_stores]&lt;br /&gt;
#*:&lt;br /&gt;
# Create SDF from PO files&lt;br /&gt;
#* Detailed description using [https://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/oo2po.html?highlight=po2oo po2oo]&lt;br /&gt;
#*:&lt;br /&gt;
# Test SDF files with &amp;#039;&amp;#039;gsicheck&amp;#039;&amp;#039;&lt;br /&gt;
#* This has to be done in a build environment after a successful build&lt;br /&gt;
#* Detailed description using [https://wiki.openoffice.org/wiki/Gsicheck#help gsicheck]&lt;br /&gt;
#* gsicheck -c -t -l ${Language} ${Language}/localize.sdf &lt;br /&gt;
#*:&lt;br /&gt;
# Commit new SDF files into the code&lt;br /&gt;
#*&lt;br /&gt;
#*:&lt;br /&gt;
&lt;br /&gt;
This can be done with scripts, too. The paths have to be adapted to the path&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- translation from/for? --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:DE]] &amp;lt;!-- author language --&amp;gt;&lt;br /&gt;
[[Category:EN]] &amp;lt;!-- text language --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mechtilde</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=IRC_Communication&amp;diff=248455</id>
		<title>IRC Communication</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=IRC_Communication&amp;diff=248455"/>
		<updated>2021-06-12T10:15:44Z</updated>

		<summary type="html">&lt;p&gt;Mechtilde: /* Libera.chat )irc.libera.chat */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[OpenOffice.org]] project uses [[wikipedia:Internet Relay Chat|IRC]] for direct and immediate online communication. Please see [http://www.google.com/calendar/embed?src=k4bgtc8bil9cs2a77lhh1r998g%40group.calendar.google.com google calendar] for schedules.&lt;br /&gt;
&lt;br /&gt;
== IRC Network == &lt;br /&gt;
&lt;br /&gt;
Since June 2021 we changed to &amp;#039;&amp;#039;Libera.chat&lt;br /&gt;
&lt;br /&gt;
=== Libera.chat (irc.libera.chat) ===&lt;br /&gt;
&lt;br /&gt;
{| &lt;br /&gt;
| [irc://irc.libera.chat/Openoffice #openoffice] || Generic channel, please use this for all questions related to Apache OpenOffice&lt;br /&gt;
|-&lt;br /&gt;
| [irc://irc.freenode.net/openoffice-de #openoffice-de] || Channel to meet germanophone speaking people from project Apache OpenOffice&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Freenode (irc.freenode.net) ===&lt;br /&gt;
&lt;br /&gt;
!!! This channel is deprecated !!!&lt;br /&gt;
&lt;br /&gt;
{| &lt;br /&gt;
| [irc://irc.freenode.net/Openoffice.org #Openoffice.org] || Users and generic channel, please use this for questions related to OOo usage&lt;br /&gt;
|-&lt;br /&gt;
| [irc://irc.freenode.net/dev.openoffice.org #dev.openoffice.org] || Channel for developers discussing building and extending OpenOffice.org&lt;br /&gt;
|-&lt;br /&gt;
| [irc://irc.freenode.net/specs.openoffice.org #specs.openoffice.org] || Specifications and development processes&lt;br /&gt;
|-&lt;br /&gt;
| [irc://irc.freenode.net/qa.openoffice.org #qa.openoffice.org] || [[:Category:Quality Assurance|QA]] channel&lt;br /&gt;
|-&lt;br /&gt;
| [irc://irc.freenode.net/ooo-api #ooo-api] || [[API]] channel related to API programming, SDK, developer documentation (formerly api.openoffice.org).&lt;br /&gt;
|-&lt;br /&gt;
| [irc://irc.freenode.net/chart2.openoffice.org #chart2.openoffice.org] || [[Chart2]] channel&lt;br /&gt;
|-&lt;br /&gt;
| [irc://irc.freenode.net/ooonlc #ooonlc] || [[NLC|Native Language]] Talk Room&lt;br /&gt;
|-&lt;br /&gt;
| [irc://irc.freenode.net/debian-oo #debian-oo] || Debian OO.o packaging channel (This is now on irc.oftc.net)&lt;br /&gt;
|-&lt;br /&gt;
| [irc://irc.freenode.net/openoffice.org-de #openoffice.org-de] || Germanophone channel&lt;br /&gt;
|-&lt;br /&gt;
| [irc://irc.freenode.net/openoffice.org-it #openoffice.org-it] || Italian channel&lt;br /&gt;
|-&lt;br /&gt;
| [irc://irc.freenode.net/openoffice.org-pl #openoffice.org-pl] || Polish channel&lt;br /&gt;
|-&lt;br /&gt;
| [irc://irc.freenode.net/openoffice.org-zh #openoffice.org-zh] || Chinese channel&lt;br /&gt;
|-&lt;br /&gt;
| [irc://irc.freenode.net/cs.openoffice.org #cs.openoffice.org] || Czech channel (serves also Slovak users)&lt;br /&gt;
|-&lt;br /&gt;
| [irc://irc.freenode.net/openoffice.et #openoffice.et] || Estonian channel&lt;br /&gt;
|-&lt;br /&gt;
| [irc://irc.freenode.net/fr.openoffice.org #fr.openoffice.org] || Francophone channel&lt;br /&gt;
|-&lt;br /&gt;
| [irc://irc.freenode.net/nl.openoffice.org #nl.openoffice.org] || Dutch channel&lt;br /&gt;
|-&lt;br /&gt;
| [irc://irc.freenode.net/ru.openoffice.org #ru.openoffice.org] || Russian channel&lt;br /&gt;
|-&lt;br /&gt;
| [irc://irc.freenode.net/OOoES #OOoES] || Spanish Channel&lt;br /&gt;
|-&lt;br /&gt;
| [irc://irc.freenode.net/broffice.org #broffice.org] || Brazilian Channel&lt;br /&gt;
|-&lt;br /&gt;
| [irc://irc.freenode.net/dba.openoffice.org-de #dba.openoffice.org-de] || Germanophone channel to help with the Base-Modul of OpenOffice.org&lt;br /&gt;
|-&lt;br /&gt;
| [irc://irc.freenode.net/ooo_macport #ooo_macport] || Native [[Mac OS X]] (Aqua) port of OpenOffice.org developer channel&lt;br /&gt;
|-&lt;br /&gt;
| [irc://irc.freenode.net/ooo-ext #ooo-ext] || [[Extensions]] channel&lt;br /&gt;
|-&lt;br /&gt;
| [irc://irc.freenode.net/ux.openoffice.org #ux.openoffice.org] || [[User Experience]] channel&lt;br /&gt;
|-&lt;br /&gt;
| [irc://irc.freenode.net/odftoolkit #odftoolkit] || [[ODF_Toolkit|ODF Toolkit]] channel (discussing strategies, next steps, ...)&lt;br /&gt;
|-&lt;br /&gt;
| [irc://irc.freenode.net/education.openoffice.org #education.openoffice.org] || [[Education_Project|Education Project]] channel (everything about Education project, ...)&lt;br /&gt;
|-&lt;br /&gt;
| [irc://irc.freenode.net/openoffice.org-docs #openoffice.org-docs] || [[Documentation|Documentation Project]] channel&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== IRC Network: HanIRC (irc.hanirc.org) ==&lt;br /&gt;
&lt;br /&gt;
{| &lt;br /&gt;
| [irc://irc.hanirc.org/openoffice #openoffice] || Korean channel&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== IRC info ==&lt;br /&gt;
&lt;br /&gt;
* [http://irchelp.org/irchelp/new2irc.html New to IRC info]&lt;br /&gt;
* Make sure you register your nick with [[wikipedia:freenode|freenode]], just follow the [http://freenode.net/faq.shtml#nicksetup instructions]&lt;br /&gt;
* If you like [[wikipedia:X-Chat|X-Chat]] but have to use windows sometimes, here is a free win32 [http://www.silverex.org/download/ version ]&lt;br /&gt;
* A client for Mac OS X is [http://colloquy.info/ Colloquy]&lt;br /&gt;
* An extension for Firefox is [https://addons.mozilla.org/en-US/firefox/addon/16 ChatZilla]&lt;br /&gt;
* To create a new channel:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  /join #new-channel-oo&lt;br /&gt;
  /msg chanserv register #new-channel-oo [password]&lt;br /&gt;
  /msg chanserv access #new-channel-oo add [who_should_autoop_there_1] [level]&lt;br /&gt;
  /msg chanserv access #new-channel-oo add [who_should_autoop_there_2_and_more] [level]&lt;br /&gt;
  /msg chanserv set #new-channel-oo guard on&lt;br /&gt;
  /msg chanserv level #new-channel set autoop [level-for-autoop]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Who is Who? ==&lt;br /&gt;
&lt;br /&gt;
A list of people &amp;amp;amp; accounts is available: [[DomainDeveloper]]&lt;br /&gt;
[[Category:Website]]&lt;/div&gt;</summary>
		<author><name>Mechtilde</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=IRC_Communication&amp;diff=248454</id>
		<title>IRC Communication</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=IRC_Communication&amp;diff=248454"/>
		<updated>2021-06-12T10:06:34Z</updated>

		<summary type="html">&lt;p&gt;Mechtilde: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[OpenOffice.org]] project uses [[wikipedia:Internet Relay Chat|IRC]] for direct and immediate online communication. Please see [http://www.google.com/calendar/embed?src=k4bgtc8bil9cs2a77lhh1r998g%40group.calendar.google.com google calendar] for schedules.&lt;br /&gt;
&lt;br /&gt;
== IRC Network == &lt;br /&gt;
&lt;br /&gt;
Since June 2021 we changed to &amp;#039;&amp;#039;Libera.chat&lt;br /&gt;
&lt;br /&gt;
=== Libera.chat )irc.libera.chat ===&lt;br /&gt;
&lt;br /&gt;
{| &lt;br /&gt;
| [irc://irc.libera.chat/Openoffice #openoffice] || Generic channel, please use this for all questions related to Apache OpenOffice&lt;br /&gt;
|-&lt;br /&gt;
| [irc://irc.freenode.net/openoffice-de #openoffice-de] || Channel to meet germanophone speaking people from project Apache OpenOffice&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Freenode (irc.freenode.net) ===&lt;br /&gt;
&lt;br /&gt;
!!! This channel is deprecated !!!&lt;br /&gt;
&lt;br /&gt;
{| &lt;br /&gt;
| [irc://irc.freenode.net/Openoffice.org #Openoffice.org] || Users and generic channel, please use this for questions related to OOo usage&lt;br /&gt;
|-&lt;br /&gt;
| [irc://irc.freenode.net/dev.openoffice.org #dev.openoffice.org] || Channel for developers discussing building and extending OpenOffice.org&lt;br /&gt;
|-&lt;br /&gt;
| [irc://irc.freenode.net/specs.openoffice.org #specs.openoffice.org] || Specifications and development processes&lt;br /&gt;
|-&lt;br /&gt;
| [irc://irc.freenode.net/qa.openoffice.org #qa.openoffice.org] || [[:Category:Quality Assurance|QA]] channel&lt;br /&gt;
|-&lt;br /&gt;
| [irc://irc.freenode.net/ooo-api #ooo-api] || [[API]] channel related to API programming, SDK, developer documentation (formerly api.openoffice.org).&lt;br /&gt;
|-&lt;br /&gt;
| [irc://irc.freenode.net/chart2.openoffice.org #chart2.openoffice.org] || [[Chart2]] channel&lt;br /&gt;
|-&lt;br /&gt;
| [irc://irc.freenode.net/ooonlc #ooonlc] || [[NLC|Native Language]] Talk Room&lt;br /&gt;
|-&lt;br /&gt;
| [irc://irc.freenode.net/debian-oo #debian-oo] || Debian OO.o packaging channel (This is now on irc.oftc.net)&lt;br /&gt;
|-&lt;br /&gt;
| [irc://irc.freenode.net/openoffice.org-de #openoffice.org-de] || Germanophone channel&lt;br /&gt;
|-&lt;br /&gt;
| [irc://irc.freenode.net/openoffice.org-it #openoffice.org-it] || Italian channel&lt;br /&gt;
|-&lt;br /&gt;
| [irc://irc.freenode.net/openoffice.org-pl #openoffice.org-pl] || Polish channel&lt;br /&gt;
|-&lt;br /&gt;
| [irc://irc.freenode.net/openoffice.org-zh #openoffice.org-zh] || Chinese channel&lt;br /&gt;
|-&lt;br /&gt;
| [irc://irc.freenode.net/cs.openoffice.org #cs.openoffice.org] || Czech channel (serves also Slovak users)&lt;br /&gt;
|-&lt;br /&gt;
| [irc://irc.freenode.net/openoffice.et #openoffice.et] || Estonian channel&lt;br /&gt;
|-&lt;br /&gt;
| [irc://irc.freenode.net/fr.openoffice.org #fr.openoffice.org] || Francophone channel&lt;br /&gt;
|-&lt;br /&gt;
| [irc://irc.freenode.net/nl.openoffice.org #nl.openoffice.org] || Dutch channel&lt;br /&gt;
|-&lt;br /&gt;
| [irc://irc.freenode.net/ru.openoffice.org #ru.openoffice.org] || Russian channel&lt;br /&gt;
|-&lt;br /&gt;
| [irc://irc.freenode.net/OOoES #OOoES] || Spanish Channel&lt;br /&gt;
|-&lt;br /&gt;
| [irc://irc.freenode.net/broffice.org #broffice.org] || Brazilian Channel&lt;br /&gt;
|-&lt;br /&gt;
| [irc://irc.freenode.net/dba.openoffice.org-de #dba.openoffice.org-de] || Germanophone channel to help with the Base-Modul of OpenOffice.org&lt;br /&gt;
|-&lt;br /&gt;
| [irc://irc.freenode.net/ooo_macport #ooo_macport] || Native [[Mac OS X]] (Aqua) port of OpenOffice.org developer channel&lt;br /&gt;
|-&lt;br /&gt;
| [irc://irc.freenode.net/ooo-ext #ooo-ext] || [[Extensions]] channel&lt;br /&gt;
|-&lt;br /&gt;
| [irc://irc.freenode.net/ux.openoffice.org #ux.openoffice.org] || [[User Experience]] channel&lt;br /&gt;
|-&lt;br /&gt;
| [irc://irc.freenode.net/odftoolkit #odftoolkit] || [[ODF_Toolkit|ODF Toolkit]] channel (discussing strategies, next steps, ...)&lt;br /&gt;
|-&lt;br /&gt;
| [irc://irc.freenode.net/education.openoffice.org #education.openoffice.org] || [[Education_Project|Education Project]] channel (everything about Education project, ...)&lt;br /&gt;
|-&lt;br /&gt;
| [irc://irc.freenode.net/openoffice.org-docs #openoffice.org-docs] || [[Documentation|Documentation Project]] channel&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== IRC Network: HanIRC (irc.hanirc.org) ==&lt;br /&gt;
&lt;br /&gt;
{| &lt;br /&gt;
| [irc://irc.hanirc.org/openoffice #openoffice] || Korean channel&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== IRC info ==&lt;br /&gt;
&lt;br /&gt;
* [http://irchelp.org/irchelp/new2irc.html New to IRC info]&lt;br /&gt;
* Make sure you register your nick with [[wikipedia:freenode|freenode]], just follow the [http://freenode.net/faq.shtml#nicksetup instructions]&lt;br /&gt;
* If you like [[wikipedia:X-Chat|X-Chat]] but have to use windows sometimes, here is a free win32 [http://www.silverex.org/download/ version ]&lt;br /&gt;
* A client for Mac OS X is [http://colloquy.info/ Colloquy]&lt;br /&gt;
* An extension for Firefox is [https://addons.mozilla.org/en-US/firefox/addon/16 ChatZilla]&lt;br /&gt;
* To create a new channel:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  /join #new-channel-oo&lt;br /&gt;
  /msg chanserv register #new-channel-oo [password]&lt;br /&gt;
  /msg chanserv access #new-channel-oo add [who_should_autoop_there_1] [level]&lt;br /&gt;
  /msg chanserv access #new-channel-oo add [who_should_autoop_there_2_and_more] [level]&lt;br /&gt;
  /msg chanserv set #new-channel-oo guard on&lt;br /&gt;
  /msg chanserv level #new-channel set autoop [level-for-autoop]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Who is Who? ==&lt;br /&gt;
&lt;br /&gt;
A list of people &amp;amp;amp; accounts is available: [[DomainDeveloper]]&lt;br /&gt;
[[Category:Website]]&lt;/div&gt;</summary>
		<author><name>Mechtilde</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Translation_from_4.2&amp;diff=248278</id>
		<title>Translation from 4.2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Translation_from_4.2&amp;diff=248278"/>
		<updated>2021-03-28T10:08:41Z</updated>

		<summary type="html">&lt;p&gt;Mechtilde: /* Steps to do it */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
This will be a brief documentation of the translation process&lt;br /&gt;
There are two steps doing at different time of the translation process.&lt;br /&gt;
&lt;br /&gt;
== From GIT to Pootle Web Frontend ==&lt;br /&gt;
&lt;br /&gt;
In this step you prepare the recent code strings for translation. You prepare a template file with all strings that need to be translated. They will be imported into Pootle then.&lt;br /&gt;
&lt;br /&gt;
The following graphic shows it. Please click on it to get a larger one.&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:UpdateTranslation.png|Graphical illustration of the technical workflow of the update of the translation&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Steps to do it ===&lt;br /&gt;
&lt;br /&gt;
# Create a build system&lt;br /&gt;
#* You can use your preferred Operating System&lt;br /&gt;
#* You can use this [https://wiki.openoffice.org/wiki/Building Building Guide] and the [https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Step_by_step Step-by-Step Guide] to do it.&lt;br /&gt;
#*:&lt;br /&gt;
# Checkout the recent code base (normally the trunk branch)&lt;br /&gt;
#* &amp;#039;&amp;#039;git clone https://gitbox.apache.org/repos/asf/openoffice.git&amp;#039;&amp;#039; #(Since 2019-08.03)&lt;br /&gt;
#*:&lt;br /&gt;
# Build AOO successfully&lt;br /&gt;
#*:&lt;br /&gt;
# Repeat the first build preliminaries (autoconf, configure, bootstrap, source LinX86-64Env.Set.sh)&lt;br /&gt;
#*:&lt;br /&gt;
# Create the template as &amp;#039;&amp;#039;en-US.sdf&amp;#039;&amp;#039;&lt;br /&gt;
#* Command: &amp;#039;&amp;#039;localize -e -l en-US -f en-US.sdf&amp;#039;&amp;#039;&lt;br /&gt;
#*:&lt;br /&gt;
# Creating templates as POT-Files&lt;br /&gt;
#* Detailed description using [https://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/oo2po.html oo2po]&lt;br /&gt;
#* &amp;#039;&amp;#039;oo2po --progress=verbose --pot en-US.sdf PotFiles-UI&amp;#039;&amp;#039;&lt;br /&gt;
#* Now &amp;#039;&amp;#039;PotFiles-UI&amp;#039;&amp;#039; also contains &amp;#039;&amp;#039;helpcontent2&amp;#039;&amp;#039;. This is the content for the [[Localization_for_developers#Upload|separate project]] &amp;#039;&amp;#039;Apache OpenOffice 4.x Help&amp;#039;&amp;#039;. The subdirectory &amp;#039;&amp;#039;helpcontent2&amp;#039;&amp;#039; has to be moved into the directory &amp;#039;&amp;#039;PotFiles-HELP&amp;#039;&amp;#039;. &lt;br /&gt;
#*:&lt;br /&gt;
# Updating the database with the template files (UI and HELP)&lt;br /&gt;
#* Detailed description using [https://pootle.readthedocs.io/en/stable-2.5.1/server/commands.html#update-stores pootle update-stores]&lt;br /&gt;
#* To be prepared for creating new languages&lt;br /&gt;
#*:&lt;br /&gt;
# Merge templates with existing PO-Files for each language (UI and HELP)&lt;br /&gt;
#* Detailed description using [https://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/pomerge.html?highlight=pomerge pomerge]&lt;br /&gt;
#*:&lt;br /&gt;
The steps on the Pootle server can be done with the script &amp;#039;&amp;#039;UpdateTranslation.sh&amp;#039;&amp;#039;. This script will be published soon.&lt;br /&gt;
&lt;br /&gt;
# Copy the file &amp;#039;&amp;#039;en.US.sdf&amp;#039;&amp;#039; to the Pootle backend&lt;br /&gt;
#* You need an access to the Pootle server ([https://translate-vm.apache.org translate-vm.apache.org])&lt;br /&gt;
#* The Pootle server runs under Ubuntu, so you have to be familiar with GNU/Linux.&lt;br /&gt;
#*:&lt;br /&gt;
&lt;br /&gt;
Now the teams can translate the [https://translate.apache.org/projects/aoo40 AOO UI] and the [https://translate.apache.org/projects/aoo40help AOO HELP].&lt;br /&gt;
&lt;br /&gt;
== From Pootle Web Frontend to Git ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:UebersetzungsProzess_Finish.png|Graphical illustration of the technical workflow of the translation process&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Steps to do it ===&lt;br /&gt;
&lt;br /&gt;
# Synchronize translation database with PO-Files for each language (UI and HELP) &lt;br /&gt;
#* Detailed description using [https://pootle.readthedocs.io/en/stable-2.5.1/server/commands.html#sync-stores pootle sync_stores]&lt;br /&gt;
#*:&lt;br /&gt;
# Create SDF from PO files&lt;br /&gt;
#* Detailed description using [http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/oo2po.html?highlight=po2oo po2oo]&lt;br /&gt;
#*:&lt;br /&gt;
# Test SDF files with &amp;#039;&amp;#039;gsicheck&amp;#039;&amp;#039;&lt;br /&gt;
#* This has to be done in a build environment after a successful build&lt;br /&gt;
#* Detailed description using [https://wiki.openoffice.org/wiki/Gsicheck#help gsicheck]&lt;br /&gt;
#* gsicheck -c -t -l ${Language} ${Language}/localize.sdf &lt;br /&gt;
#*:&lt;br /&gt;
# Commit new SDF files into the code&lt;br /&gt;
#*&lt;br /&gt;
#*:&lt;br /&gt;
&lt;br /&gt;
This can be done with scripts, too. The paths have to be adapted to the path&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- translation from/for? --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:DE]] &amp;lt;!-- author language --&amp;gt;&lt;br /&gt;
[[Category:EN]] &amp;lt;!-- text language --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mechtilde</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Translation_from_4.2&amp;diff=245752</id>
		<title>Translation from 4.2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Translation_from_4.2&amp;diff=245752"/>
		<updated>2020-04-18T15:44:23Z</updated>

		<summary type="html">&lt;p&gt;Mechtilde: /* Steps to do it */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
This will be a brief documentation of the translation process&lt;br /&gt;
There are two steps doing at different time of the translation process.&lt;br /&gt;
&lt;br /&gt;
== From GIT to Pootle Web Frontend ==&lt;br /&gt;
&lt;br /&gt;
In this step you prepare the recent code strings for translation. You prepare a template file with all strings that need to be translated. They will be imported into Pootle then.&lt;br /&gt;
&lt;br /&gt;
The following graphic shows it. Please click on it to get a larger one.&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:UpdateTranslation.png|Graphical illustration of the technical workflow of the update of the translation&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Steps to do it ===&lt;br /&gt;
&lt;br /&gt;
# Create a build system&lt;br /&gt;
#* You can use your preferred Operating System&lt;br /&gt;
#* You can use this [https://wiki.openoffice.org/wiki/Building Building Guide] and the [https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Step_by_step Step-by-Step Guide] to do it.&lt;br /&gt;
#*:&lt;br /&gt;
# Checkout the recent code base (normally the trunk branch)&lt;br /&gt;
#* &amp;#039;&amp;#039;git clone https://gitbox.apache.org/repos/asf/openoffice.git&amp;#039;&amp;#039; #(Since 2019-08.03)&lt;br /&gt;
#*:&lt;br /&gt;
# Build AOO successfully&lt;br /&gt;
#*:&lt;br /&gt;
# Repeat the first build preliminaries (autoconf, configure, bootstrap, source LinX86-64Env.Set.sh)&lt;br /&gt;
#*:&lt;br /&gt;
# Create the template as &amp;#039;&amp;#039;en-US.sdf&amp;#039;&amp;#039;&lt;br /&gt;
#* Command: &amp;#039;&amp;#039;localize -e -l en-US -f en-US.sdf&amp;#039;&amp;#039;&lt;br /&gt;
#*:&lt;br /&gt;
# Creating templates as POT-Files&lt;br /&gt;
#* Detailed description using [http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/oo2po.html oo2po]&lt;br /&gt;
#* &amp;#039;&amp;#039;oo2po --progress=verbose --pot en-US.sdf PotFiles-UI&amp;#039;&amp;#039;&lt;br /&gt;
#* Now &amp;#039;&amp;#039;PotFiles-UI&amp;#039;&amp;#039; also contains &amp;#039;&amp;#039;helpcontent2&amp;#039;&amp;#039;. This is the content for the [[Localization_for_developers#Upload|separate project]] &amp;#039;&amp;#039;Apache OpenOffice 4.x Help&amp;#039;&amp;#039;. The subdirectory &amp;#039;&amp;#039;helpcontent2&amp;#039;&amp;#039; has to be moved into the directory &amp;#039;&amp;#039;PotFiles-HELP&amp;#039;&amp;#039;. &lt;br /&gt;
#*:&lt;br /&gt;
# Updating the database with the template files (UI and HELP)&lt;br /&gt;
#* Detailed description using [https://pootle.readthedocs.io/en/stable-2.5.1/server/commands.html#update-stores pootle update-stores]&lt;br /&gt;
#*:&lt;br /&gt;
# Merge templates with existing PO-Files for each language (UI and HELP)&lt;br /&gt;
#* Detailed description using [http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/pomerge.html?highlight=pomerge pomerge]&lt;br /&gt;
#*:&lt;br /&gt;
The steps on the Pootle server can be done with the script &amp;#039;&amp;#039;UpdateTranslation.sh&amp;#039;&amp;#039;. This script will be published soon.&lt;br /&gt;
&lt;br /&gt;
# Copy the file &amp;#039;&amp;#039;en.US.sdf&amp;#039;&amp;#039; to the Pootle backend&lt;br /&gt;
#* You need an access to the Pootle server ([https://translate-vm.apache.org translate-vm.apache.org])&lt;br /&gt;
#* The Pootle server runs under Ubuntu, so you have to be familiar with GNU/Linux.&lt;br /&gt;
#*:&lt;br /&gt;
&lt;br /&gt;
Now the teams can translate the [https://translate.apache.org/projects/aoo40 AOO UI] and the [https://translate.apache.org/projects/aoo40help AOO HELP].&lt;br /&gt;
&lt;br /&gt;
== From Pootle Web Frontend to Git ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:UebersetzungsProzess_Finish.png|Graphical illustration of the technical workflow of the translation process&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Steps to do it ===&lt;br /&gt;
&lt;br /&gt;
# Synchronize translation database with PO-Files for each language (UI and HELP) &lt;br /&gt;
#* Detailed description using [https://pootle.readthedocs.io/en/stable-2.5.1/server/commands.html#sync-stores pootle sync_stores]&lt;br /&gt;
#*:&lt;br /&gt;
# Create SDF from PO files&lt;br /&gt;
#* Detailed description using [http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/oo2po.html?highlight=po2oo po2oo]&lt;br /&gt;
#*:&lt;br /&gt;
# Test SDF files with &amp;#039;&amp;#039;gsicheck&amp;#039;&amp;#039;&lt;br /&gt;
#* This has to be done in a build environment after a successful build&lt;br /&gt;
#* Detailed description using [https://wiki.openoffice.org/wiki/Gsicheck#help gsicheck]&lt;br /&gt;
#* gsicheck -c -t -l ${Language} ${Language}/localize.sdf &lt;br /&gt;
#*:&lt;br /&gt;
# Commit new SDF files into the code&lt;br /&gt;
#*&lt;br /&gt;
#*:&lt;br /&gt;
&lt;br /&gt;
This can be done with scripts, too. the paths have to be adapt to the path&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- translation from/for? --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:DE]] &amp;lt;!-- author language --&amp;gt;&lt;br /&gt;
[[Category:EN]] &amp;lt;!-- text language --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mechtilde</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Translation_from_4.2&amp;diff=245751</id>
		<title>Translation from 4.2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Translation_from_4.2&amp;diff=245751"/>
		<updated>2020-04-18T15:35:07Z</updated>

		<summary type="html">&lt;p&gt;Mechtilde: /* From GIT to Pootle Web Frontend */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
This will be a brief documentation of the translation process&lt;br /&gt;
There are two steps doing at different time of the translation process.&lt;br /&gt;
&lt;br /&gt;
== From GIT to Pootle Web Frontend ==&lt;br /&gt;
&lt;br /&gt;
In this step you prepare the recent code strings for translation. You prepare a template file with all strings that need to be translated. They will be imported into Pootle then.&lt;br /&gt;
&lt;br /&gt;
The following graphic shows it. Please click on it to get a larger one.&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:UpdateTranslation.png|Graphical illustration of the technical workflow of the update of the translation&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Steps to do it ===&lt;br /&gt;
&lt;br /&gt;
# Create a build system&lt;br /&gt;
#* You can use your preferred Operating System&lt;br /&gt;
#* You can use this [https://wiki.openoffice.org/wiki/Building Building Guide] and the [https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Step_by_step Step-by-Step Guide] to do it.&lt;br /&gt;
#*:&lt;br /&gt;
# Checkout the recent code base (normally the trunk branch)&lt;br /&gt;
#* &amp;#039;&amp;#039;git clone https://gitbox.apache.org/repos/asf/openoffice.git&amp;#039;&amp;#039; #(Since 2019-08.03)&lt;br /&gt;
#*:&lt;br /&gt;
# Build AOO successfully&lt;br /&gt;
#*:&lt;br /&gt;
# Repeat the first build preliminaries (autoconf, configure, bootstrap, source LinX86-64Env.Set.sh)&lt;br /&gt;
#*:&lt;br /&gt;
# Create the template as &amp;#039;&amp;#039;en-US.sdf&amp;#039;&amp;#039;&lt;br /&gt;
#* Command: &amp;#039;&amp;#039;localize -e -l en-US -f en-US.sdf&amp;#039;&amp;#039;&lt;br /&gt;
#*:&lt;br /&gt;
# Creating templates as POT-Files&lt;br /&gt;
#* Detailed description using [http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/oo2po.html oo2po]&lt;br /&gt;
#* &amp;#039;&amp;#039;oo2po --progress=verbose --pot en-US.sdf PotFiles-UI&amp;#039;&amp;#039;&lt;br /&gt;
#* Now &amp;#039;&amp;#039;PotFiles-UI&amp;#039;&amp;#039; also contains &amp;#039;&amp;#039;helpcontent2&amp;#039;&amp;#039;. This is the content for the [[Localization_for_developers#Upload|separate project]] &amp;#039;&amp;#039;Apache OpenOffice 4.x Help&amp;#039;&amp;#039;. The subdirectory &amp;#039;&amp;#039;helpcontent2&amp;#039;&amp;#039; has to be moved into the directory &amp;#039;&amp;#039;PotFiles-HELP&amp;#039;&amp;#039;. &lt;br /&gt;
#*:&lt;br /&gt;
# Updating the database with the template files (UI and HELP)&lt;br /&gt;
#* Detailed description using [https://pootle.readthedocs.io/en/stable-2.5.1/server/commands.html#update-stores pootle update-stores]&lt;br /&gt;
#*:&lt;br /&gt;
# Merge templates with existing PO-Files for each language (UI and HELP)&lt;br /&gt;
#* Detailed description using [https://pootle.readthedocs.io/en/stable-2.5.1/server/commands.html#update-against-templates pootle update-against-templates]&lt;br /&gt;
#*:&lt;br /&gt;
The steps on the Pootle server can be done with the script &amp;#039;&amp;#039;UpdateTranslation.sh&amp;#039;&amp;#039;. This script will be published soon.&lt;br /&gt;
&lt;br /&gt;
# Copy the file &amp;#039;&amp;#039;en.US.sdf&amp;#039;&amp;#039; to the Pootle backend&lt;br /&gt;
#* You need an access to the Pootle server ([https://translate-vm.apache.org translate-vm.apache.org])&lt;br /&gt;
#* The Pootle server runs under Ubuntu, so you have to be familiar with GNU/Linux.&lt;br /&gt;
#*:&lt;br /&gt;
&lt;br /&gt;
Now the teams can translate the [https://translate.apache.org/projects/aoo40 AOO UI] and the [https://translate.apache.org/projects/aoo40help AOO HELP].&lt;br /&gt;
&lt;br /&gt;
== From Pootle Web Frontend to Git ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:UebersetzungsProzess_Finish.png|Graphical illustration of the technical workflow of the translation process&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Steps to do it ===&lt;br /&gt;
&lt;br /&gt;
# Synchronize translation database with PO-Files for each language (UI and HELP) &lt;br /&gt;
#* Detailed description using [https://pootle.readthedocs.io/en/stable-2.5.1/server/commands.html#sync-stores pootle sync_stores]&lt;br /&gt;
#*:&lt;br /&gt;
# Create SDF from PO files&lt;br /&gt;
#* Detailed description using [http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/oo2po.html?highlight=po2oo po2oo]&lt;br /&gt;
#*:&lt;br /&gt;
# Test SDF files with &amp;#039;&amp;#039;gsicheck&amp;#039;&amp;#039;&lt;br /&gt;
#* This has to be done in a build environment after a successful build&lt;br /&gt;
#* Detailed description using [https://wiki.openoffice.org/wiki/Gsicheck#help gsicheck]&lt;br /&gt;
#* gsicheck -c -t -l ${Language} ${Language}/localize.sdf &lt;br /&gt;
#*:&lt;br /&gt;
# Commit new SDF files into the code&lt;br /&gt;
#*&lt;br /&gt;
#*:&lt;br /&gt;
&lt;br /&gt;
This can be done with scripts, too. the paths have to be adapt to the path&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- translation from/for? --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:DE]] &amp;lt;!-- author language --&amp;gt;&lt;br /&gt;
[[Category:EN]] &amp;lt;!-- text language --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mechtilde</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=File:UpdateTranslation.png&amp;diff=245750</id>
		<title>File:UpdateTranslation.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=File:UpdateTranslation.png&amp;diff=245750"/>
		<updated>2020-04-18T15:34:38Z</updated>

		<summary type="html">&lt;p&gt;Mechtilde: Mechtilde uploaded a new version of &amp;amp;quot;File:UpdateTranslation.png&amp;amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Graphical illustration of the technical workflow of the update of the translation&lt;/div&gt;</summary>
		<author><name>Mechtilde</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=File:UpdateTranslation.png&amp;diff=245749</id>
		<title>File:UpdateTranslation.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=File:UpdateTranslation.png&amp;diff=245749"/>
		<updated>2020-04-18T15:34:37Z</updated>

		<summary type="html">&lt;p&gt;Mechtilde: Graphical illustration of the technical workflow of the update of the translation&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Graphical illustration of the technical workflow of the update of the translation&lt;/div&gt;</summary>
		<author><name>Mechtilde</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Translation_from_4.2&amp;diff=245748</id>
		<title>Translation from 4.2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Translation_from_4.2&amp;diff=245748"/>
		<updated>2020-04-18T15:22:19Z</updated>

		<summary type="html">&lt;p&gt;Mechtilde: /* From GIT to Pootle Web Frontend */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
This will be a brief documentation of the translation process&lt;br /&gt;
There are two steps doing at different time of the translation process.&lt;br /&gt;
&lt;br /&gt;
== From GIT to Pootle Web Frontend ==&lt;br /&gt;
&lt;br /&gt;
In this step you prepare the recent code strings for translation. You prepare a template file with all strings that need to be translated. They will be imported into Pootle then.&lt;br /&gt;
&lt;br /&gt;
The following graphic shows it. Please click on it to get a larger one.&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:UpdateTranslation.pdf|Graphical illustration of the technical workflow of the update of the translation&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Steps to do it ===&lt;br /&gt;
&lt;br /&gt;
# Create a build system&lt;br /&gt;
#* You can use your preferred Operating System&lt;br /&gt;
#* You can use this [https://wiki.openoffice.org/wiki/Building Building Guide] and the [https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Step_by_step Step-by-Step Guide] to do it.&lt;br /&gt;
#*:&lt;br /&gt;
# Checkout the recent code base (normally the trunk branch)&lt;br /&gt;
#* &amp;#039;&amp;#039;git clone https://gitbox.apache.org/repos/asf/openoffice.git&amp;#039;&amp;#039; #(Since 2019-08.03)&lt;br /&gt;
#*:&lt;br /&gt;
# Build AOO successfully&lt;br /&gt;
#*:&lt;br /&gt;
# Repeat the first build preliminaries (autoconf, configure, bootstrap, source LinX86-64Env.Set.sh)&lt;br /&gt;
#*:&lt;br /&gt;
# Create the template as &amp;#039;&amp;#039;en-US.sdf&amp;#039;&amp;#039;&lt;br /&gt;
#* Command: &amp;#039;&amp;#039;localize -e -l en-US -f en-US.sdf&amp;#039;&amp;#039;&lt;br /&gt;
#*:&lt;br /&gt;
# Creating templates as POT-Files&lt;br /&gt;
#* Detailed description using [http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/oo2po.html oo2po]&lt;br /&gt;
#* &amp;#039;&amp;#039;oo2po --progress=verbose --pot en-US.sdf PotFiles-UI&amp;#039;&amp;#039;&lt;br /&gt;
#* Now &amp;#039;&amp;#039;PotFiles-UI&amp;#039;&amp;#039; also contains &amp;#039;&amp;#039;helpcontent2&amp;#039;&amp;#039;. This is the content for the [[Localization_for_developers#Upload|separate project]] &amp;#039;&amp;#039;Apache OpenOffice 4.x Help&amp;#039;&amp;#039;. The subdirectory &amp;#039;&amp;#039;helpcontent2&amp;#039;&amp;#039; has to be moved into the directory &amp;#039;&amp;#039;PotFiles-HELP&amp;#039;&amp;#039;. &lt;br /&gt;
#*:&lt;br /&gt;
# Updating the database with the template files (UI and HELP)&lt;br /&gt;
#* Detailed description using [https://pootle.readthedocs.io/en/stable-2.5.1/server/commands.html#update-stores pootle update-stores]&lt;br /&gt;
#*:&lt;br /&gt;
# Merge templates with existing PO-Files for each language (UI and HELP)&lt;br /&gt;
#* Detailed description using [https://pootle.readthedocs.io/en/stable-2.5.1/server/commands.html#update-against-templates pootle update-against-templates]&lt;br /&gt;
#*:&lt;br /&gt;
The steps on the Pootle server can be done with the script &amp;#039;&amp;#039;UpdateTranslation.sh&amp;#039;&amp;#039;. This script will be published soon.&lt;br /&gt;
&lt;br /&gt;
# Copy the file &amp;#039;&amp;#039;en.US.sdf&amp;#039;&amp;#039; to the Pootle backend&lt;br /&gt;
#* You need an access to the Pootle server ([https://translate-vm.apache.org translate-vm.apache.org])&lt;br /&gt;
#* The Pootle server runs under Ubuntu, so you have to be familiar with GNU/Linux.&lt;br /&gt;
#*:&lt;br /&gt;
&lt;br /&gt;
Now the teams can translate the [https://translate.apache.org/projects/aoo40 AOO UI] and the [https://translate.apache.org/projects/aoo40help AOO HELP].&lt;br /&gt;
&lt;br /&gt;
== From Pootle Web Frontend to Git ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:UebersetzungsProzess_Finish.png|Graphical illustration of the technical workflow of the translation process&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Steps to do it ===&lt;br /&gt;
&lt;br /&gt;
# Synchronize translation database with PO-Files for each language (UI and HELP) &lt;br /&gt;
#* Detailed description using [https://pootle.readthedocs.io/en/stable-2.5.1/server/commands.html#sync-stores pootle sync_stores]&lt;br /&gt;
#*:&lt;br /&gt;
# Create SDF from PO files&lt;br /&gt;
#* Detailed description using [http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/oo2po.html?highlight=po2oo po2oo]&lt;br /&gt;
#*:&lt;br /&gt;
# Test SDF files with &amp;#039;&amp;#039;gsicheck&amp;#039;&amp;#039;&lt;br /&gt;
#* This has to be done in a build environment after a successful build&lt;br /&gt;
#* Detailed description using [https://wiki.openoffice.org/wiki/Gsicheck#help gsicheck]&lt;br /&gt;
#* gsicheck -c -t -l ${Language} ${Language}/localize.sdf &lt;br /&gt;
#*:&lt;br /&gt;
# Commit new SDF files into the code&lt;br /&gt;
#*&lt;br /&gt;
#*:&lt;br /&gt;
&lt;br /&gt;
This can be done with scripts, too. the paths have to be adapt to the path&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- translation from/for? --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:DE]] &amp;lt;!-- author language --&amp;gt;&lt;br /&gt;
[[Category:EN]] &amp;lt;!-- text language --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mechtilde</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=File:UpdateTranslation.pdf&amp;diff=245747</id>
		<title>File:UpdateTranslation.pdf</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=File:UpdateTranslation.pdf&amp;diff=245747"/>
		<updated>2020-04-18T15:20:04Z</updated>

		<summary type="html">&lt;p&gt;Mechtilde: Graphical illustration of the technical workflow of the update of the translation.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Graphical illustration of the technical workflow of the update of the translation.&lt;/div&gt;</summary>
		<author><name>Mechtilde</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Translation_from_4.2&amp;diff=245744</id>
		<title>Translation from 4.2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Translation_from_4.2&amp;diff=245744"/>
		<updated>2020-02-29T19:08:59Z</updated>

		<summary type="html">&lt;p&gt;Mechtilde: /* From Pootle Web Frontend to SVN */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
This will be a brief documentation of the translation process&lt;br /&gt;
There are two steps doing at different time of the translation process.&lt;br /&gt;
&lt;br /&gt;
== From GIT to Pootle Web Frontend ==&lt;br /&gt;
&lt;br /&gt;
In this step you prepare the recent code strings for translation. You prepare a template file with all strings that need to be translated. They will be imported into Pootle then.&lt;br /&gt;
&lt;br /&gt;
The following graphic shows it. Please click on it to get a larger one.&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:UebersetzungsProzess_Start.png|Graphical illustration of the technical workflow of the translation process&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Steps to do it ===&lt;br /&gt;
&lt;br /&gt;
# Create a build system&lt;br /&gt;
#* You can use your preferred Operating System&lt;br /&gt;
#* You can use this [https://wiki.openoffice.org/wiki/Building Building Guide] and the [https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Step_by_step Step-by-Step Guide] to do it.&lt;br /&gt;
#*:&lt;br /&gt;
# Checkout the recent code base (normally the trunk branch)&lt;br /&gt;
#* &amp;#039;&amp;#039;git clone https://gitbox.apache.org/repos/asf/openoffice.git&amp;#039;&amp;#039; #(Since 2019-08.03)&lt;br /&gt;
#*:&lt;br /&gt;
# Build AOO successfully&lt;br /&gt;
#*:&lt;br /&gt;
# Repeat the first build preliminaries (autoconf, configure, bootstrap, source LinX86-64Env.Set.sh)&lt;br /&gt;
#*:&lt;br /&gt;
# Create the template as &amp;#039;&amp;#039;en-US.sdf&amp;#039;&amp;#039;&lt;br /&gt;
#* Command: &amp;#039;&amp;#039;localize -e -l en-US -f en-US.sdf&amp;#039;&amp;#039;&lt;br /&gt;
#*:&lt;br /&gt;
# Creating templates as POT-Files&lt;br /&gt;
#* Detailed description using [http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/oo2po.html oo2po]&lt;br /&gt;
#* &amp;#039;&amp;#039;oo2po --progress=verbose --pot en-US.sdf PotFiles-UI&amp;#039;&amp;#039;&lt;br /&gt;
#* Now &amp;#039;&amp;#039;PotFiles-UI&amp;#039;&amp;#039; also contains &amp;#039;&amp;#039;helpcontent2&amp;#039;&amp;#039;. This is the content for the [[Localization_for_developers#Upload|separate project]] &amp;#039;&amp;#039;Apache OpenOffice 4.x Help&amp;#039;&amp;#039;. The subdirectory &amp;#039;&amp;#039;helpcontent2&amp;#039;&amp;#039; has to be moved into the directory &amp;#039;&amp;#039;PotFiles-HELP&amp;#039;&amp;#039;. &lt;br /&gt;
#*:&lt;br /&gt;
# Updating the database with the template files (UI and HELP)&lt;br /&gt;
#* Detailed description using [https://pootle.readthedocs.io/en/stable-2.5.1/server/commands.html#update-stores pootle update-stores]&lt;br /&gt;
#*:&lt;br /&gt;
# Merge templates with existing PO-Files for each language (UI and HELP)&lt;br /&gt;
#* Detailed description using [https://pootle.readthedocs.io/en/stable-2.5.1/server/commands.html#update-against-templates pootle update-against-templates]&lt;br /&gt;
#*:&lt;br /&gt;
The steps on the Pootle server can be done with the script &amp;#039;&amp;#039;UpdateTranslation.sh&amp;#039;&amp;#039;. This script will be published soon.&lt;br /&gt;
&lt;br /&gt;
# Copy the file &amp;#039;&amp;#039;en.US.sdf&amp;#039;&amp;#039; to the Pootle backend&lt;br /&gt;
#* You need an access to the Pootle server ([https://translate-vm.apache.org translate-vm.apache.org])&lt;br /&gt;
#* The Pootle server runs under Ubuntu, so you have to be familiar with GNU/Linux.&lt;br /&gt;
#*:&lt;br /&gt;
&lt;br /&gt;
Now the teams can translate the [https://translate.apache.org/projects/aoo40 AOO UI] and the [https://translate.apache.org/projects/aoo40help AOO HELP].&lt;br /&gt;
&lt;br /&gt;
== From Pootle Web Frontend to Git ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:UebersetzungsProzess_Finish.png|Graphical illustration of the technical workflow of the translation process&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Steps to do it ===&lt;br /&gt;
&lt;br /&gt;
# Synchronize translation database with PO-Files for each language (UI and HELP) &lt;br /&gt;
#* Detailed description using [https://pootle.readthedocs.io/en/stable-2.5.1/server/commands.html#sync-stores pootle sync_stores]&lt;br /&gt;
#*:&lt;br /&gt;
# Create SDF from PO files&lt;br /&gt;
#* Detailed description using [http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/oo2po.html?highlight=po2oo po2oo]&lt;br /&gt;
#*:&lt;br /&gt;
# Test SDF files with &amp;#039;&amp;#039;gsicheck&amp;#039;&amp;#039;&lt;br /&gt;
#* This has to be done in a build environment after a successful build&lt;br /&gt;
#* Detailed description using [https://wiki.openoffice.org/wiki/Gsicheck#help gsicheck]&lt;br /&gt;
#* gsicheck -c -t -l ${Language} ${Language}/localize.sdf &lt;br /&gt;
#*:&lt;br /&gt;
# Commit new SDF files into the code&lt;br /&gt;
#*&lt;br /&gt;
#*:&lt;br /&gt;
&lt;br /&gt;
This can be done with scripts, too. the paths have to be adapt to the path&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- translation from/for? --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:DE]] &amp;lt;!-- author language --&amp;gt;&lt;br /&gt;
[[Category:EN]] &amp;lt;!-- text language --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mechtilde</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Translation_from_4.2&amp;diff=245733</id>
		<title>Translation from 4.2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Translation_from_4.2&amp;diff=245733"/>
		<updated>2020-01-19T07:13:38Z</updated>

		<summary type="html">&lt;p&gt;Mechtilde: (Zwischenspeicherung)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
This will be a brief documentation of the translation process&lt;br /&gt;
There are two steps doing at different time of the translation process.&lt;br /&gt;
&lt;br /&gt;
== From GIT to Pootle Web Frontend ==&lt;br /&gt;
&lt;br /&gt;
In this step you prepare the recent code strings for translation. You prepare a template file with all strings that need to be translated. They will be imported into Pootle then.&lt;br /&gt;
&lt;br /&gt;
The following graphic shows it. Please click on it to get a larger one.&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:UebersetzungsProzess_Start.png|Graphical illustration of the technical workflow of the translation process&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Steps to do it ===&lt;br /&gt;
&lt;br /&gt;
# Create a build system&lt;br /&gt;
#* You can use your preferred Operating System&lt;br /&gt;
#* You can use this [https://wiki.openoffice.org/wiki/Building Building Guide] and the [https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Step_by_step Step-by-Step Guide] to do it.&lt;br /&gt;
#*:&lt;br /&gt;
# Checkout the recent code base (normally the trunk branch)&lt;br /&gt;
#* &amp;#039;&amp;#039;git clone https://gitbox.apache.org/repos/asf/openoffice.git&amp;#039;&amp;#039; #(Since 2019-08.03)&lt;br /&gt;
#*:&lt;br /&gt;
# Build AOO successfully&lt;br /&gt;
#*:&lt;br /&gt;
# Repeat the first build preliminaries (autoconf, configure, bootstrap, source LinX86-64Env.Set.sh)&lt;br /&gt;
#*:&lt;br /&gt;
# Create the template as &amp;#039;&amp;#039;en-US.sdf&amp;#039;&amp;#039;&lt;br /&gt;
#* Command: &amp;#039;&amp;#039;localize -e -l en-US -f en-US.sdf&amp;#039;&amp;#039;&lt;br /&gt;
#*:&lt;br /&gt;
# Creating templates as POT-Files&lt;br /&gt;
#* Detailed description using [http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/oo2po.html oo2po]&lt;br /&gt;
#* &amp;#039;&amp;#039;oo2po --progress=verbose --pot en-US.sdf PotFiles-UI&amp;#039;&amp;#039;&lt;br /&gt;
#* Now &amp;#039;&amp;#039;PotFiles-UI&amp;#039;&amp;#039; also contains &amp;#039;&amp;#039;helpcontent2&amp;#039;&amp;#039;. This is the content for the [[Localization_for_developers#Upload|separate project]] &amp;#039;&amp;#039;Apache OpenOffice 4.x Help&amp;#039;&amp;#039;. The subdirectory &amp;#039;&amp;#039;helpcontent2&amp;#039;&amp;#039; has to be moved into the directory &amp;#039;&amp;#039;PotFiles-HELP&amp;#039;&amp;#039;. &lt;br /&gt;
#*:&lt;br /&gt;
# Updating the database with the template files (UI and HELP)&lt;br /&gt;
#* Detailed description using [https://pootle.readthedocs.io/en/stable-2.5.1/server/commands.html#update-stores pootle update-stores]&lt;br /&gt;
#*:&lt;br /&gt;
# Merge templates with existing PO-Files for each language (UI and HELP)&lt;br /&gt;
#* Detailed description using [https://pootle.readthedocs.io/en/stable-2.5.1/server/commands.html#update-against-templates pootle update-against-templates]&lt;br /&gt;
#*:&lt;br /&gt;
The steps on the Pootle server can be done with the script &amp;#039;&amp;#039;UpdateTranslation.sh&amp;#039;&amp;#039;. This script will be published soon.&lt;br /&gt;
&lt;br /&gt;
# Copy the file &amp;#039;&amp;#039;en.US.sdf&amp;#039;&amp;#039; to the Pootle backend&lt;br /&gt;
#* You need an access to the Pootle server ([https://translate-vm.apache.org translate-vm.apache.org])&lt;br /&gt;
#* The Pootle server runs under Ubuntu, so you have to be familiar with GNU/Linux.&lt;br /&gt;
#*:&lt;br /&gt;
&lt;br /&gt;
Now the teams can translate the [https://translate.apache.org/projects/aoo40 AOO UI] and the [https://translate.apache.org/projects/aoo40help AOO HELP].&lt;br /&gt;
&lt;br /&gt;
== From Pootle Web Frontend to SVN ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:UebersetzungsProzess_Finish.png|Graphical illustration of the technical workflow of the translation process&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Steps to do it ===&lt;br /&gt;
&lt;br /&gt;
# Synchronize translation database with PO-Files for each language (UI and HELP) &lt;br /&gt;
#* Detailed description using [https://pootle.readthedocs.io/en/stable-2.5.1/server/commands.html#sync-stores pootle sync_stores]&lt;br /&gt;
#*:&lt;br /&gt;
# Create SDF from PO files&lt;br /&gt;
#* Detailed description using [http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/oo2po.html?highlight=po2oo po2oo]&lt;br /&gt;
#*:&lt;br /&gt;
# Test SDF files with &amp;#039;&amp;#039;gsicheck&amp;#039;&amp;#039;&lt;br /&gt;
#* This has to be done in a build environment after a successful build&lt;br /&gt;
#* Detailed description using [https://wiki.openoffice.org/wiki/Gsicheck#help gsicheck]&lt;br /&gt;
#* gsicheck -c -t -l ${Language} ${Language}/localize.sdf &lt;br /&gt;
#*:&lt;br /&gt;
# Commit new SDF files into the code&lt;br /&gt;
#*&lt;br /&gt;
#*:&lt;br /&gt;
&lt;br /&gt;
This can be done with scripts, too. the paths have to be adapt to the path&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- translation from/for? --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:DE]] &amp;lt;!-- author language --&amp;gt;&lt;br /&gt;
[[Category:EN]] &amp;lt;!-- text language --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mechtilde</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Translation_from_4.2&amp;diff=245643</id>
		<title>Translation from 4.2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Translation_from_4.2&amp;diff=245643"/>
		<updated>2019-11-02T06:51:26Z</updated>

		<summary type="html">&lt;p&gt;Mechtilde: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
This will be a brief documentation of the translation process&lt;br /&gt;
There are two steps doing at different time of the translation process.&lt;br /&gt;
== From GIT to Pootle Web Frontend ==&lt;br /&gt;
&lt;br /&gt;
In this step you prepare the recent code strings for translation. You prepare a template file with all strings that need to be translated. They are imported into Pootle.&lt;br /&gt;
&lt;br /&gt;
The following graphic shows it. Please click on it to get a larger one.&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:UebersetzungsProzess_Start.png|Graphical illustration of the technical workflow of the translation process&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Steps to do it ===&lt;br /&gt;
&lt;br /&gt;
# Create a build system&lt;br /&gt;
#* You can use your preferred Operating System&lt;br /&gt;
#* You can use this [https://wiki.openoffice.org/wiki/Building Building Guide] and the [https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Step_by_step Step-by-Step Guide] to do it.&lt;br /&gt;
#*:&lt;br /&gt;
# Checkout the recent code base (normally the trunk branch)&lt;br /&gt;
#* &amp;#039;&amp;#039;git clone https://gitbox.apache.org/repos/asf/openoffice.git&amp;#039;&amp;#039; #(Since 2019-08.03)&lt;br /&gt;
#*:&lt;br /&gt;
# Build AOO successfully&lt;br /&gt;
#*:&lt;br /&gt;
# Create the template as &amp;#039;&amp;#039;en-US.sdf&amp;#039;&amp;#039;&lt;br /&gt;
#* Detailed description using [[Localization_for_developers#Extraction|solenv/bin/localize]]&lt;br /&gt;
#* Command: &amp;#039;&amp;#039;localize -e -l en-US -f en-US.sdf&amp;#039;&amp;#039;&lt;br /&gt;
#*:&lt;br /&gt;
# Copy the file &amp;#039;&amp;#039;en.US.sdf&amp;#039;&amp;#039; to the Pootle backend&lt;br /&gt;
#* You need an access to the Pootle server ([https://translate-vm.apache.org translate-vm.apache.org])&lt;br /&gt;
#* The Pootle server runs under Ubuntu, so you have to be familiar with GNU/Linux.&lt;br /&gt;
#*:&lt;br /&gt;
# Creating templates as POT-Files&lt;br /&gt;
#* Detailed description using [http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/oo2po.html oo2po]&lt;br /&gt;
#* &amp;#039;&amp;#039;oo2po --progress=verbose --pot en-US.sdf PotFiles-UI&amp;#039;&amp;#039;&lt;br /&gt;
#* Now &amp;#039;&amp;#039;PotFiles-UI&amp;#039;&amp;#039; also contains &amp;#039;&amp;#039;helpcontent2&amp;#039;&amp;#039;. This is the content for the [[Localization_for_developers#Upload|separate project]] &amp;#039;&amp;#039;Apache OpenOffice 4.x Help&amp;#039;&amp;#039;. The subdirectory &amp;#039;&amp;#039;helpcontent2&amp;#039;&amp;#039; has to be moved into the directory &amp;#039;&amp;#039;PotFiles-HELP&amp;#039;&amp;#039;. &lt;br /&gt;
#*:&lt;br /&gt;
# Updating the database with the template files (UI and HELP)&lt;br /&gt;
#* Detailed description using [https://pootle.readthedocs.io/en/stable-2.5.1/server/commands.html#update-stores pootle update-stores]&lt;br /&gt;
#*:&lt;br /&gt;
# Merge templates with existing PO-Files for each language (UI and HELP)&lt;br /&gt;
#* Detailed description using [https://pootle.readthedocs.io/en/stable-2.5.1/server/commands.html#update-against-templates pootle update-against-templates]&lt;br /&gt;
#*:&lt;br /&gt;
The steps on the Pootle server can be done with the script &amp;#039;&amp;#039;UpdateTranslation.sh&amp;#039;&amp;#039;. This script will be published soon.&lt;br /&gt;
&lt;br /&gt;
Now the teams can translate the [https://translate.apache.org/projects/aoo40 AOO UI] and the [https://translate.apache.org/projects/aoo40help AOO HELP].&lt;br /&gt;
&lt;br /&gt;
== From Pootle Web Frontend to SVN ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:UebersetzungsProzess_Finish.png|Graphical illustration of the technical workflow of the translation process&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Steps to do it ===&lt;br /&gt;
&lt;br /&gt;
# Synchronize translation database with PO-Files for each language (UI and HELP) &lt;br /&gt;
#* Detailed description using [https://pootle.readthedocs.io/en/stable-2.5.1/server/commands.html#sync-stores pootle sync_stores]&lt;br /&gt;
#*:&lt;br /&gt;
# Create SDF from PO files&lt;br /&gt;
#* Detailed description using [http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/oo2po.html?highlight=po2oo po2oo]&lt;br /&gt;
#*:&lt;br /&gt;
# Test SDF files with &amp;#039;&amp;#039;gsicheck&amp;#039;&amp;#039;&lt;br /&gt;
#* This has to be done in a build environment after a successful build&lt;br /&gt;
#* Detailed description using [https://wiki.openoffice.org/wiki/Gsicheck#help gsicheck]&lt;br /&gt;
#* gsicheck -c -t -l ${Language} ${Language}/localize.sdf &lt;br /&gt;
#*:&lt;br /&gt;
# Commit new SDF files into the code&lt;br /&gt;
#*&lt;br /&gt;
#*:&lt;br /&gt;
&lt;br /&gt;
This can be done with scripts, too. the paths have to be adapt to the path&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- translation from/for? --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:DE]] &amp;lt;!-- author language --&amp;gt;&lt;br /&gt;
[[Category:EN]] &amp;lt;!-- text language --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mechtilde</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Translation_from_4.2&amp;diff=245579</id>
		<title>Translation from 4.2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Translation_from_4.2&amp;diff=245579"/>
		<updated>2019-08-04T17:52:36Z</updated>

		<summary type="html">&lt;p&gt;Mechtilde: /* Steps to do it */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
This will be a brief documentation of the translation process&lt;br /&gt;
There are two steps doing at different time of the translation process.&lt;br /&gt;
== From SVN to Pootle Web Frontend ==&lt;br /&gt;
&lt;br /&gt;
In this step you prepare the recent code strings for translation. You prepare a template file with all strings that need to be translated. They are imported into Pootle.&lt;br /&gt;
&lt;br /&gt;
The following graphic shows it. Please click on it to get a larger one.&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:UebersetzungsProzess_Start.png|Graphical illustration of the technical workflow of the translation process&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Steps to do it ===&lt;br /&gt;
&lt;br /&gt;
# Create a build system&lt;br /&gt;
#* You can use your preferred Operating System&lt;br /&gt;
#* You can use this [https://wiki.openoffice.org/wiki/Building Building Guide] and the [https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Step_by_step Step-by-Step Guide] to do it.&lt;br /&gt;
#*:&lt;br /&gt;
# Checkout the recent code base (normally the trunk branch)&lt;br /&gt;
#* &amp;#039;&amp;#039;svn co https://svn.apache.org/repos/asf/openoffice/trunk aoo&amp;#039;&amp;#039;&lt;br /&gt;
#* &amp;#039;&amp;#039;git clone https://gitbox.apache.org/repos/asf/openoffice.git&amp;#039;&amp;#039; #(Since 2019-08.03)&lt;br /&gt;
#*:&lt;br /&gt;
# Build AOO successfully&lt;br /&gt;
#*:&lt;br /&gt;
# Create the template as &amp;#039;&amp;#039;en-US.sdf&amp;#039;&amp;#039;&lt;br /&gt;
#* Detailed description using [[Localization_for_developers#Extraction|solenv/bin/localize]]&lt;br /&gt;
#* Command: &amp;#039;&amp;#039;localize -e -l en-US -f en-US.sdf&amp;#039;&amp;#039;&lt;br /&gt;
#*:&lt;br /&gt;
# Copy the file &amp;#039;&amp;#039;en.US.sdf&amp;#039;&amp;#039; to the Pootle backend&lt;br /&gt;
#* You need an access to the Pootle server ([https://translate-vm.apache.org translate-vm.apache.org])&lt;br /&gt;
#* The Pootle server runs under Ubuntu, so you have to be familiar with GNU/Linux.&lt;br /&gt;
#*:&lt;br /&gt;
# Creating templates as POT-Files&lt;br /&gt;
#* Detailed description using [http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/oo2po.html oo2po]&lt;br /&gt;
#* &amp;#039;&amp;#039;oo2po --progress=verbose --pot en-US.sdf PotFiles-UI&amp;#039;&amp;#039;&lt;br /&gt;
#* Now &amp;#039;&amp;#039;PotFiles-UI&amp;#039;&amp;#039; also contains &amp;#039;&amp;#039;helpcontent2&amp;#039;&amp;#039;. This is the content for the [[Localization_for_developers#Upload|separate project]] &amp;#039;&amp;#039;Apache OpenOffice 4.x Help&amp;#039;&amp;#039;. The subdirectory &amp;#039;&amp;#039;helpcontent2&amp;#039;&amp;#039; has to be moved into the directory &amp;#039;&amp;#039;PotFiles-HELP&amp;#039;&amp;#039;. &lt;br /&gt;
#*:&lt;br /&gt;
# Updating the database with the template files (UI and HELP)&lt;br /&gt;
#* Detailed description using [https://pootle.readthedocs.io/en/stable-2.5.1/server/commands.html#update-stores pootle update-stores]&lt;br /&gt;
#*:&lt;br /&gt;
# Merge templates with existing PO-Files for each language (UI and HELP)&lt;br /&gt;
#* Detailed description using [https://pootle.readthedocs.io/en/stable-2.5.1/server/commands.html#update-against-templates pootle update-against-templates]&lt;br /&gt;
#*:&lt;br /&gt;
The steps on the Pootle server can be done with the script &amp;#039;&amp;#039;UpdateTranslation.sh&amp;#039;&amp;#039;. This script will be published soon.&lt;br /&gt;
&lt;br /&gt;
Now the teams can translate the [https://translate.apache.org/projects/aoo40 AOO UI] and the [https://translate.apache.org/projects/aoo40help AOO HELP].&lt;br /&gt;
&lt;br /&gt;
== From Pootle Web Frontend to SVN ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:UebersetzungsProzess_Finish.png|Graphical illustration of the technical workflow of the translation process&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Steps to do it ===&lt;br /&gt;
&lt;br /&gt;
# Synchronize translation database with PO-Files for each language (UI and HELP) &lt;br /&gt;
#* Detailed description using [https://pootle.readthedocs.io/en/stable-2.5.1/server/commands.html#sync-stores pootle sync_stores]&lt;br /&gt;
#*:&lt;br /&gt;
# Create SDF from PO files&lt;br /&gt;
#* Detailed description using [http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/oo2po.html?highlight=po2oo po2oo]&lt;br /&gt;
#*:&lt;br /&gt;
# Test SDF files with &amp;#039;&amp;#039;gsicheck&amp;#039;&amp;#039;&lt;br /&gt;
#* This has to be done in a build environment after a successful build&lt;br /&gt;
#* Detailed description using [https://wiki.openoffice.org/wiki/Gsicheck#help gsicheck]&lt;br /&gt;
#* gsicheck -c -t -l ${Language} ${Language}/localize.sdf &lt;br /&gt;
#*:&lt;br /&gt;
# Commit new SDF files into the code&lt;br /&gt;
#*&lt;br /&gt;
#*:&lt;br /&gt;
&lt;br /&gt;
This can be done with scripts, too. the paths have to be adapt to the path&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- translation from/for? --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:DE]] &amp;lt;!-- author language --&amp;gt;&lt;br /&gt;
[[Category:EN]] &amp;lt;!-- text language --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mechtilde</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Translation_from_4.2&amp;diff=245578</id>
		<title>Translation from 4.2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Translation_from_4.2&amp;diff=245578"/>
		<updated>2019-08-04T17:51:31Z</updated>

		<summary type="html">&lt;p&gt;Mechtilde: /* Steps to do it */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
This will be a brief documentation of the translation process&lt;br /&gt;
There are two steps doing at different time of the translation process.&lt;br /&gt;
== From SVN to Pootle Web Frontend ==&lt;br /&gt;
&lt;br /&gt;
In this step you prepare the recent code strings for translation. You prepare a template file with all strings that need to be translated. They are imported into Pootle.&lt;br /&gt;
&lt;br /&gt;
The following graphic shows it. Please click on it to get a larger one.&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:UebersetzungsProzess_Start.png|Graphical illustration of the technical workflow of the translation process&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Steps to do it ===&lt;br /&gt;
&lt;br /&gt;
# Create a build system&lt;br /&gt;
#* You can use your preferred Operating System&lt;br /&gt;
#* You can use this [https://wiki.openoffice.org/wiki/Building Building Guide] and the [https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Step_by_step Step-by-Step Guide] to do it.&lt;br /&gt;
#*:&lt;br /&gt;
# Checkout the recent code base (normally the trunk branch)&lt;br /&gt;
#* &amp;#039;&amp;#039;svn co https://svn.apache.org/repos/asf/openoffice/trunk aoo&amp;#039;&amp;#039;&lt;br /&gt;
:  &amp;#039;&amp;#039;git clone https://gitbox.apache.org/repos/asf/openoffice.git&amp;#039;&amp;#039; #(Since 2019-08.03)&lt;br /&gt;
#*:&lt;br /&gt;
# Build AOO successfully&lt;br /&gt;
#*:&lt;br /&gt;
# Create the template as &amp;#039;&amp;#039;en-US.sdf&amp;#039;&amp;#039;&lt;br /&gt;
#* Detailed description using [[Localization_for_developers#Extraction|solenv/bin/localize]]&lt;br /&gt;
#* Command: &amp;#039;&amp;#039;localize -e -l en-US -f en-US.sdf&amp;#039;&amp;#039;&lt;br /&gt;
#*:&lt;br /&gt;
# Copy the file &amp;#039;&amp;#039;en.US.sdf&amp;#039;&amp;#039; to the Pootle backend&lt;br /&gt;
#* You need an access to the Pootle server ([https://translate-vm.apache.org translate-vm.apache.org])&lt;br /&gt;
#* The Pootle server runs under Ubuntu, so you have to be familiar with GNU/Linux.&lt;br /&gt;
#*:&lt;br /&gt;
# Creating templates as POT-Files&lt;br /&gt;
#* Detailed description using [http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/oo2po.html oo2po]&lt;br /&gt;
#* &amp;#039;&amp;#039;oo2po --progress=verbose --pot en-US.sdf PotFiles-UI&amp;#039;&amp;#039;&lt;br /&gt;
#* Now &amp;#039;&amp;#039;PotFiles-UI&amp;#039;&amp;#039; also contains &amp;#039;&amp;#039;helpcontent2&amp;#039;&amp;#039;. This is the content for the [[Localization_for_developers#Upload|separate project]] &amp;#039;&amp;#039;Apache OpenOffice 4.x Help&amp;#039;&amp;#039;. The subdirectory &amp;#039;&amp;#039;helpcontent2&amp;#039;&amp;#039; has to be moved into the directory &amp;#039;&amp;#039;PotFiles-HELP&amp;#039;&amp;#039;. &lt;br /&gt;
#*:&lt;br /&gt;
# Updating the database with the template files (UI and HELP)&lt;br /&gt;
#* Detailed description using [https://pootle.readthedocs.io/en/stable-2.5.1/server/commands.html#update-stores pootle update-stores]&lt;br /&gt;
#*:&lt;br /&gt;
# Merge templates with existing PO-Files for each language (UI and HELP)&lt;br /&gt;
#* Detailed description using [https://pootle.readthedocs.io/en/stable-2.5.1/server/commands.html#update-against-templates pootle update-against-templates]&lt;br /&gt;
#*:&lt;br /&gt;
The steps on the Pootle server can be done with the script &amp;#039;&amp;#039;UpdateTranslation.sh&amp;#039;&amp;#039;. This script will be published soon.&lt;br /&gt;
&lt;br /&gt;
Now the teams can translate the [https://translate.apache.org/projects/aoo40 AOO UI] and the [https://translate.apache.org/projects/aoo40help AOO HELP].&lt;br /&gt;
&lt;br /&gt;
== From Pootle Web Frontend to SVN ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:UebersetzungsProzess_Finish.png|Graphical illustration of the technical workflow of the translation process&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Steps to do it ===&lt;br /&gt;
&lt;br /&gt;
# Synchronize translation database with PO-Files for each language (UI and HELP) &lt;br /&gt;
#* Detailed description using [https://pootle.readthedocs.io/en/stable-2.5.1/server/commands.html#sync-stores pootle sync_stores]&lt;br /&gt;
#*:&lt;br /&gt;
# Create SDF from PO files&lt;br /&gt;
#* Detailed description using [http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/oo2po.html?highlight=po2oo po2oo]&lt;br /&gt;
#*:&lt;br /&gt;
# Test SDF files with &amp;#039;&amp;#039;gsicheck&amp;#039;&amp;#039;&lt;br /&gt;
#* This has to be done in a build environment after a successful build&lt;br /&gt;
#* Detailed description using [https://wiki.openoffice.org/wiki/Gsicheck#help gsicheck]&lt;br /&gt;
#* gsicheck -c -t -l ${Language} ${Language}/localize.sdf &lt;br /&gt;
#*:&lt;br /&gt;
# Commit new SDF files into the code&lt;br /&gt;
#*&lt;br /&gt;
#*:&lt;br /&gt;
&lt;br /&gt;
This can be done with scripts, too. the paths have to be adapt to the path&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- translation from/for? --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:DE]] &amp;lt;!-- author language --&amp;gt;&lt;br /&gt;
[[Category:EN]] &amp;lt;!-- text language --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mechtilde</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Documentation/Building_Guide_AOO/Step_by_step&amp;diff=245577</id>
		<title>Documentation/Building Guide AOO/Step by step</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Documentation/Building_Guide_AOO/Step_by_step&amp;diff=245577"/>
		<updated>2019-08-04T17:49:03Z</updated>

		<summary type="html">&lt;p&gt;Mechtilde: /* Windows 7, Windows 8.1, Windows 10 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:Step by step building guides for different platforms}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
This page is intended as a collection of simple step-by-step recipes to build Apache OpenOffice from source code.  A more thorough explanation of what the individual steps do and why they are necessary can be found in the [[Documentation/Building_Guide_AOO|building guide]].&lt;br /&gt;
&lt;br /&gt;
=Ubuntu 16.04=&lt;br /&gt;
 {{DraftPage|EN}}&lt;br /&gt;
The process to build {{AOo|EN}} is currently undergoing experimentation. As steps are firmed up they will be added here.&lt;br /&gt;
&lt;br /&gt;
* Updated Install requirements. OpenJDK 6 or 7 is not available for Ubuntu 16.04:&lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install openjdk-8-jdk fakeroot&lt;br /&gt;
&lt;br /&gt;
Draft: With Version 4.2 we start to update the build enviroment to Ubuntu 18.04 and Debian 9. You can follow [https://wiki.openoffice.org/wiki/User:Mechtilde/AOOBauen AOOBauen]&lt;br /&gt;
&lt;br /&gt;
=Ubuntu 14.04=&lt;br /&gt;
&lt;br /&gt;
Ubuntu 14.04 is our secondary build platform for our complimentary community Linux 32 and 64 bit platforms, CentOS7 being our primary.&lt;br /&gt;
The basic building steps under Ubuntu 12.04 (see below) are to be followed in Ubuntu 14.04 as well; however, there are some minor build issues that any developer, using this OS, needs to be aware of, if he gets stuck while building. The following is the list of issues, with their fixes, that a developer may face with:&lt;br /&gt;
&lt;br /&gt;
* Issue 125475; see the link https://issues.apache.org/ooo/show_bug.cgi?id=125475 for detailed information. This happens if you explicitly upgraded your GCC and related tools to version 4.9; it will not appear if you use GCC 4.8.x.&lt;br /&gt;
&lt;br /&gt;
As the BZ says, it is because of buggy toolchain g++4.9. So for now in Ubuntu Linux 14.04, build the source using g++4.8.2, gcc4.8.2; these are the default compilers in Ubuntu Linux 14.04 anyway; please check it using the following commands:&lt;br /&gt;
&lt;br /&gt;
  g++ -v&lt;br /&gt;
  gcc -v&lt;br /&gt;
&lt;br /&gt;
if not, you&amp;#039;ve to download them.&lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install g++-4.8&lt;br /&gt;
  cd /usr/bin&lt;br /&gt;
  rm gcc&lt;br /&gt;
  rm g++&lt;br /&gt;
  ln -s gcc-4.8 gcc&lt;br /&gt;
  ln -s g++-4.8 g++&lt;br /&gt;
&lt;br /&gt;
* Updated Install requirements. In addition to those listed for Ubuntu 12.04:&lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install openjdk-7-jdk fakeroot&lt;br /&gt;
&lt;br /&gt;
* Failed to find ./solver/420/unxlngx6.pro/lib/x86_64-linux-gnu/libstdc++.so.6.0.20 error.&lt;br /&gt;
&lt;br /&gt;
  cp /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20 ./solver/420/unxlngx6.pro/lib/&lt;br /&gt;
  rm ./solver/420/unxlngx6.pro/lib/libstdc++.so.6&lt;br /&gt;
  ln -s ./solver/420/unxlngx6.pro/lib/libstdc++.so.6.0.20 ./solver/420/unxlngx6.pro/lib/libstdc++.so.6&lt;br /&gt;
&lt;br /&gt;
* No such file or directory - connectivity/virtualdbtools.hxx while building svx.&lt;br /&gt;
&lt;br /&gt;
if you get an error like this, then that means connectivity is not built properly. Build connectivity using build --all:connectivity and this error will go away.&lt;br /&gt;
&lt;br /&gt;
==Build and Packaging tools==&lt;br /&gt;
&lt;br /&gt;
Download, configure, build and install dmake and epm&lt;br /&gt;
 $ wget https://github.com/jimjag/dmake/archive/dmake-4.12.3.tar.gz&lt;br /&gt;
 $ tar -xzf dmake-4.12.3.tar.gz&lt;br /&gt;
 $ cd dmake-dmake-4.12.3&lt;br /&gt;
 $ ./configure --prefix=/usr/local&lt;br /&gt;
 $ sudo make install&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 $ wget https://github.com/jimjag/epm/archive/epm-4.4.2.tar.gz&lt;br /&gt;
 $ tar -xzf epm-4.4.2.tar.gz&lt;br /&gt;
 $ cd epm-epm-4.4.2&lt;br /&gt;
 $ ./configure --prefix=/usr/local --enable-aoo&lt;br /&gt;
 $ sudo make install&lt;br /&gt;
&lt;br /&gt;
=Ubuntu 12.04=&lt;br /&gt;
&lt;br /&gt;
* Setup VirtualBox with Ubuntu 12.04 64 bit on Windows7 64bit host.  A native installation is of course fine, too.&lt;br /&gt;
* Let updater update ca. 380 packages. Restart.&lt;br /&gt;
* Get the source.  You can start with the source release or by checking out from SVN:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;prettytable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Source release&lt;br /&gt;
! SVN&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| Build from source release if you want to build OpenOffice once but don&amp;#039;t want to do any development.&lt;br /&gt;
| Build from SVN if you want to development work with OpenOffice.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &lt;br /&gt;
&lt;br /&gt;
* Download AOO 4.1.3 source tarball from&lt;br /&gt;
https://www.apache.org/dyn/closer.lua/openoffice/4.1.3/source/apache-openoffice-4.1.3-r1761381-src.tar.bz2&lt;br /&gt;
&lt;br /&gt;
* Optional: Download signature from&lt;br /&gt;
https://archive.apache.org/dist/openoffice/4.1.3/source/apache-openoffice-4.1.3-r1761381-src.tar.bz2.asc&lt;br /&gt;
&lt;br /&gt;
and verify the source tarball with&lt;br /&gt;
&lt;br /&gt;
 gpg --verify apache-openoffice-4.1.3-r1761381-src.tar.bz2.asc \&lt;br /&gt;
              apache-openoffice-4.1.3-r1761381-src.tar.bz2&lt;br /&gt;
&lt;br /&gt;
Note that you have to have the keys already imported to your key chain. The keys can be found on the download page:&lt;br /&gt;
&lt;br /&gt;
https://www.apache.org/dist/openoffice/KEYS&lt;br /&gt;
&lt;br /&gt;
* Unpack source:&lt;br /&gt;
  cd /tmp&lt;br /&gt;
  tar -xjf ~/Downloads/apache-openoffice-4.1.3-r1761381-src.tar.bz2&lt;br /&gt;
  cd aoo-4.1.3/main&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
&lt;br /&gt;
* Start with creating a parent directory for the source code.  Don&amp;#039;t use &amp;lt;code&amp;gt;/tmp&amp;lt;/code&amp;gt; because that is deleted on every boot:&lt;br /&gt;
&lt;br /&gt;
  sudo mkdir /source&lt;br /&gt;
  sudo chown &amp;lt;your-user-name&amp;gt; /source&lt;br /&gt;
  cd /source&lt;br /&gt;
&lt;br /&gt;
* Install subversion and checkout the source:&lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install subversion&lt;br /&gt;
  svn co https://svn.apache.org/repos/asf/openoffice/trunk aoo-trunk&lt;br /&gt;
  cd aoo-trunk/main&lt;br /&gt;
&lt;br /&gt;
* Install git and checkout the source (since 2019-08-03:&lt;br /&gt;
&lt;br /&gt;
  sudo apt install git&lt;br /&gt;
  git clone https://gitbox.apache.org/repos/asf/openoffice.git aoo&lt;br /&gt;
  cd aoo/main&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* Install requirements (this will also install packages that are not listed):&lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install g++ gcc bison flex libarchive-zip-perl libcups2-dev \&lt;br /&gt;
       libpam0g-dev gperf libfreetype6-dev libxaw7-dev libfontconfig1-dev \&lt;br /&gt;
       libxrandr-dev patch libgconf2-dev libgnomevfs2-dev ant libgtk2.0-dev \&lt;br /&gt;
       junit junit4 libidl-dev liborbit2-dev openjdk-6-jdk libwww-perl \&lt;br /&gt;
       libxml-parser-perl autoconf libssl-dev libpam-dev libgstreamer\*&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Run autoconf to generate configure script:&lt;br /&gt;
&lt;br /&gt;
  autoconf&lt;br /&gt;
&lt;br /&gt;
* Configure (see the building guide section on [[Documentation/Building_Guide_AOO#Configuration_and_bootstrapping|configuration]] for further options):&lt;br /&gt;
&lt;br /&gt;
  ./configure \&lt;br /&gt;
      --with-dmake-url=https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2 \&lt;br /&gt;
      --with-epm-url=https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz \&lt;br /&gt;
      --disable-odk \&lt;br /&gt;
      --disable-binfilter&lt;br /&gt;
&lt;br /&gt;
* Finish configuration and download missing tarballs and extensions:&lt;br /&gt;
&lt;br /&gt;
  ./bootstrap&lt;br /&gt;
&lt;br /&gt;
* Include the configured environment:&lt;br /&gt;
&lt;br /&gt;
  source LinuxX86-64Env.Set.sh&lt;br /&gt;
&lt;br /&gt;
* Build:&lt;br /&gt;
&lt;br /&gt;
  cd instsetoo_native/&lt;br /&gt;
  build --all&lt;br /&gt;
&lt;br /&gt;
This may take a while to complete.  Several hours are not uncommon.  To speed things up you may want to run &amp;#039;build&amp;#039; like this&lt;br /&gt;
&lt;br /&gt;
  build --all -P&amp;lt;n&amp;gt; -- -P&amp;lt;n&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to start a parallel build.  Replace &amp;lt;n&amp;gt; with the number of CPU cores. &lt;br /&gt;
&lt;br /&gt;
* Install:&lt;br /&gt;
&lt;br /&gt;
  sudo dpkg -i unxlngx6.pro/Apache_OpenOffice/deb/install/en-US/DEBS/*.deb&lt;br /&gt;
  sudo dpkg -i unxlngx6.pro/Apache_OpenOffice/deb/install/en-US/DEBS/desktop-integration/openoffice4.2-debian-menus_4.2-9800_all.deb&lt;br /&gt;
&lt;br /&gt;
* Start Apache OpenOffice:&lt;br /&gt;
&lt;br /&gt;
  /opt/openoffice4/program/soffice&lt;br /&gt;
&lt;br /&gt;
=CentOS 5 for AOO 4.1.x =&lt;br /&gt;
&lt;br /&gt;
CentOS 5 is our reference environment for build through the 4.1.x series. As it is a very old environment, it is &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; recommended to use it for your first build. But is important to document how to build on CentOS 5 since this is where the release through 4.1.x are built.&lt;br /&gt;
&lt;br /&gt;
==Setup a VM==&lt;br /&gt;
&lt;br /&gt;
KVM given here as example.&lt;br /&gt;
&lt;br /&gt;
  $ wget -O /tmp/CentOS-5.iso http://mi.mirror.garr.it/mirrors/CentOS/5.11/isos/x86_64/CentOS-5.11-x86_64-netinstall.iso&lt;br /&gt;
  $ fallocate -l 61440M /vms/centos5_64.img&lt;br /&gt;
  $ sudo virt-install --boot cdrom --name centos5_64 --memory 8192 -f /vms/centos5_64.img --cdrom /tmp/CentOS-5.iso&lt;br /&gt;
&lt;br /&gt;
* Install the system; installation will start with the above command and use the following values when asked:&lt;br /&gt;
** Installation method: HTTP with website mirror.centos.org and CentOS directory /centos/5/os/x86_64&lt;br /&gt;
** Partitioning: 60000M for /, rest swap (you will need ~55 GBytes for a full build with all languages and langpacks)&lt;br /&gt;
** Setup Base system only&lt;br /&gt;
* Reboot the VM and configure it&lt;br /&gt;
** You&amp;#039;ll probably want a non-root user with sudo access and you may want to disable some services.&lt;br /&gt;
** &amp;lt;code&amp;gt;$ sudo yum update -y&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;$ sudo reboot&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Our community builds are actually done on a VMware Fusion VM. Build times are mostly sensitive to the number of CPUs and allocated RAM; our setup is a 6 core VM with 16GB of memory.&lt;br /&gt;
&lt;br /&gt;
==Setup repositories and packages==&lt;br /&gt;
&lt;br /&gt;
EPEL is needed for dpkg (to build DEBs):&lt;br /&gt;
&lt;br /&gt;
  $ wget http://archives.fedoraproject.org/pub/archive/epel/5/i386/epel-release-5-4.noarch.rpm&lt;br /&gt;
  $ sudo rpm -ivh epel-release-5-4.noarch.rpm&lt;br /&gt;
  $ sudo yum update -y&lt;br /&gt;
&lt;br /&gt;
Now you can install all dependencies:&lt;br /&gt;
&lt;br /&gt;
  $ sudo yum install \&lt;br /&gt;
        gcc \&lt;br /&gt;
        expat-devel \&lt;br /&gt;
        openssl-devel \&lt;br /&gt;
        autoconf \&lt;br /&gt;
        gcc-c++ \&lt;br /&gt;
        cups-devel \&lt;br /&gt;
        pam-devel \&lt;br /&gt;
        java-1.6.0-openjdk-devel \&lt;br /&gt;
        rpm-build \&lt;br /&gt;
        dpkg \&lt;br /&gt;
        gperf \&lt;br /&gt;
        freetype-devel \&lt;br /&gt;
        libX11-devel \&lt;br /&gt;
        libXt-devel \&lt;br /&gt;
        fontconfig-devel \&lt;br /&gt;
        libXrandr-devel \&lt;br /&gt;
        bison \&lt;br /&gt;
        flex \&lt;br /&gt;
        GConf2-devel \&lt;br /&gt;
        gnome-vfs2-devel \&lt;br /&gt;
        gtk2-devel \&lt;br /&gt;
        gstreamer-devel \&lt;br /&gt;
        gstreamer-plugins-base-devel \&lt;br /&gt;
        mesa-libGLU-devel \&lt;br /&gt;
        subversion \&lt;br /&gt;
        ccache&lt;br /&gt;
&lt;br /&gt;
Configure ccache:&lt;br /&gt;
&lt;br /&gt;
  $ ccache -M 2G&lt;br /&gt;
&lt;br /&gt;
This leaves out Ant and Perl.&lt;br /&gt;
&lt;br /&gt;
==Download Ant==&lt;br /&gt;
&lt;br /&gt;
Ant 1.7.1 is now available in the CentOS repositories:&lt;br /&gt;
&lt;br /&gt;
  $ sudo yum install ant17 ant17-apache-regexp&lt;br /&gt;
&lt;br /&gt;
However, this will still cause configure to fail, so a manual download is needed. Ant will live in ~/ant and we need to download it manually.&lt;br /&gt;
&lt;br /&gt;
 $ cd&lt;br /&gt;
 $ wget http://mirrors.nxnethosting.com/apache//ant/binaries/apache-ant-1.9.7-bin.tar.bz2&lt;br /&gt;
 $ tar xvf apache-ant-1.9.7-bin.tar.bz2&lt;br /&gt;
 $ ln -s apache-ant-1.9.7 ant&lt;br /&gt;
&lt;br /&gt;
==Install Perl modules==&lt;br /&gt;
&lt;br /&gt;
We can no longer use the system Perl and standard packages on CentOS 5, which are too old, so we will need to build newer versions.&lt;br /&gt;
&lt;br /&gt;
  $ cd /usr/local/src&lt;br /&gt;
  $ wget https://www.cpan.org/src/5.0/perl-5.14.4.tar.gz&lt;br /&gt;
  $ tar xvf perl-5.14.4.tar.gz&lt;br /&gt;
  $ cd perl-5.14.4&lt;br /&gt;
  $ ./configure.gnu ; make&lt;br /&gt;
  $ sudo make install&lt;br /&gt;
  $ sudo /usr/local/bin/perl -MCPAN -e shell&lt;br /&gt;
   cpan[1]&amp;gt; install Archive::Zip XML::Parser LWP::UserAgent Digest::SHA Digest::MD5 LWP::Protocol::https&lt;br /&gt;
   cpan[1]&amp;gt; exit&lt;br /&gt;
  $&lt;br /&gt;
&lt;br /&gt;
Make sure that /usr/local/bin/perl is in your $PATH and is used before any other versions.&lt;br /&gt;
&lt;br /&gt;
==Configure==&lt;br /&gt;
&lt;br /&gt;
See http://svn.apache.org/viewvc/openoffice/devtools/build-scripts/ for the configure options for a release build.&lt;br /&gt;
&lt;br /&gt;
=CentOS 7 for AOO 4.2.x and later=&lt;br /&gt;
&lt;br /&gt;
Although CentOS 5 was our reference environment for build through the 4.1.x series, as it is a very old environment, it is not a viable system to use for building AOO 4.2.x and later, mainly due to some dependencies no longer being available for CentOS5 (such as &amp;#039;&amp;#039;gstreamer-1.x&amp;#039;&amp;#039;). Not to say that you can&amp;#039;t do so, but we have switched to CentOS 7 for our reference build. Other than that, the actual setups and builds for both OSs are strikingly similar.&lt;br /&gt;
&lt;br /&gt;
==Setup a VM==&lt;br /&gt;
&lt;br /&gt;
We have had good results installing CentOS 7 under both VirtualBox and VMware. Our community builds are actually done on a VMware Fusion VM. Build times are mostly sensitive to the number of CPUs and allocated RAM; our setup is a 6 core VM with 16GB of memory. We recommend CentOS 7.5&lt;br /&gt;
&lt;br /&gt;
==Setup repositories and packages==&lt;br /&gt;
&lt;br /&gt;
EPEL is needed for dpkg (to build DEBs) and for ccache (to speed up repeated builds, optional but recommended):&lt;br /&gt;
&lt;br /&gt;
  $ sudo yum install epel-release&lt;br /&gt;
  $ sudo yum update -y&lt;br /&gt;
&lt;br /&gt;
Now you can install all dependencies:&lt;br /&gt;
&lt;br /&gt;
  $ sudo yum install \&lt;br /&gt;
        gcc \&lt;br /&gt;
        expat-devel \&lt;br /&gt;
        openssl-devel \&lt;br /&gt;
        autoconf \&lt;br /&gt;
        gcc-c++ \&lt;br /&gt;
        cups-devel \&lt;br /&gt;
        pam-devel \&lt;br /&gt;
        java-1.7.0-openjdk-devel \&lt;br /&gt;
        rpm-build \&lt;br /&gt;
        dpkg \&lt;br /&gt;
        fakeroot \&lt;br /&gt;
        gperf \&lt;br /&gt;
        freetype-devel \&lt;br /&gt;
        libX11-devel \&lt;br /&gt;
        libXt-devel \&lt;br /&gt;
        fontconfig-devel \&lt;br /&gt;
        libXrandr-devel \&lt;br /&gt;
        bison \&lt;br /&gt;
        flex \&lt;br /&gt;
        GConf2-devel \&lt;br /&gt;
        gnome-vfs2-devel \&lt;br /&gt;
        gtk2-devel \&lt;br /&gt;
        gstreamer-devel \&lt;br /&gt;
        gstreamer-plugins-base-devel \&lt;br /&gt;
        gstreamer1-devel \&lt;br /&gt;
        gstreamer1-plugins-base-devel \&lt;br /&gt;
        mesa-libGLU-devel \&lt;br /&gt;
        wget \&lt;br /&gt;
        subversion \&lt;br /&gt;
        ccache \&lt;br /&gt;
        glib2-devel \&lt;br /&gt;
        dbus-glib-devel \&lt;br /&gt;
        perl \&lt;br /&gt;
        ORBit2-devel&lt;br /&gt;
&lt;br /&gt;
Configure ccache to use at least 2 GBytes:&lt;br /&gt;
&lt;br /&gt;
  $ ccache -M 2G&lt;br /&gt;
&lt;br /&gt;
This leaves out Ant and Perl.&lt;br /&gt;
&lt;br /&gt;
==Download Ant==&lt;br /&gt;
&lt;br /&gt;
The version of Ant installed via yum can cause configure to fail, so a manual download is needed. Ant will live in ~/ant and we need to download it manually.&lt;br /&gt;
&lt;br /&gt;
 $ cd&lt;br /&gt;
 $ wget http://mirrors.nxnethosting.com/apache//ant/binaries/apache-ant-1.9.13-bin.tar.bz2&lt;br /&gt;
 $ tar xvf apache-ant-1.9.13-bin.tar.bz2&lt;br /&gt;
 $ ln -s apache-ant-1.9.13 ant&lt;br /&gt;
&lt;br /&gt;
==Install Perl modules==&lt;br /&gt;
&lt;br /&gt;
We can use the system Perl and standard packages on CentOS 6, see https://bz.apache.org/ooo/show_bug.cgi?id=127120&lt;br /&gt;
&lt;br /&gt;
  $ sudo yum install \&lt;br /&gt;
        cpan \&lt;br /&gt;
        perl-libwww-perl \&lt;br /&gt;
        perl-Archive-Zip \&lt;br /&gt;
        perl-Digest-SHA \&lt;br /&gt;
        perl-XML-Parser \&lt;br /&gt;
        perl-Crypt-SSLeay \&lt;br /&gt;
        perl-Env \&lt;br /&gt;
        perl-LWP-Protocol-https&lt;br /&gt;
&lt;br /&gt;
  $ sudo cpan File::Path&lt;br /&gt;
&lt;br /&gt;
==Build and Packaging tools==&lt;br /&gt;
&lt;br /&gt;
Download, configure, build and install dmake and epm&lt;br /&gt;
 $ wget https://github.com/jimjag/dmake/archive/dmake-4.12.3.tar.gz&lt;br /&gt;
 $ cd dmake-dmake-4,12,3&lt;br /&gt;
 $ ./configure --prefix=/usr/local; make install&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 $ wget https://github.com/jimjag/epm/archive/epm-4.4.2.tar.gz&lt;br /&gt;
 $ cd epm-epm-4.4.2&lt;br /&gt;
 $ ./configure --prefix=/usr/local --enable-aoo; make install&lt;br /&gt;
&lt;br /&gt;
==32 bit hints==&lt;br /&gt;
&lt;br /&gt;
There is not a EPEL release for CentOS 7 32bit, so you&amp;#039;ll need to download, build and install dpkg and GNUtar directly:&lt;br /&gt;
&lt;br /&gt;
 $ wget ftp://ftp.de.debian.org//debian/pool/main/d/dpkg/dpkg_1.19.3.tar.xz&lt;br /&gt;
 $ wget http://ftp.gnu.org/gnu/tar/tar-1.30.tar.gz&lt;br /&gt;
&lt;br /&gt;
==Configure==&lt;br /&gt;
&lt;br /&gt;
See https://svn.apache.org/viewvc/openoffice/devtools/build-scripts/ for the configure options for a release build.&lt;br /&gt;
&lt;br /&gt;
= Fedora 21 =&lt;br /&gt;
&lt;br /&gt;
== Autoconf ==&lt;br /&gt;
&lt;br /&gt;
=== Work directory ===&lt;br /&gt;
&amp;lt;code&amp;gt;/share/linux2/aoo/trunk/main/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You need to create the &amp;quot;configure&amp;quot; command in order to start:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ autoconf&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configure the build options ==&lt;br /&gt;
&lt;br /&gt;
You need to configure the build options to tell the build command what to use or to ignore:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ ./configure \ &amp;lt;br/&amp;gt;&lt;br /&gt;
--with-dmake-url=https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2 \ &amp;lt;br/&amp;gt;&lt;br /&gt;
--with-epm-url=https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz \ &amp;lt;br/&amp;gt;&lt;br /&gt;
--disable-odk \ &amp;lt;br/&amp;gt;&lt;br /&gt;
--disable-gconf \ &amp;lt;br/&amp;gt;&lt;br /&gt;
--disable-gnome-vfs \ &amp;lt;br/&amp;gt;&lt;br /&gt;
--with-package-format=&amp;quot;installed&amp;quot;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Bootstrap the build ==&lt;br /&gt;
&lt;br /&gt;
You need to prepare the build environment. This will download missing source code tar balls of external libraries, download missing external dictionary extensions and pre-build needed tools:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ ./bootstrap&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Source the environment ==&lt;br /&gt;
&lt;br /&gt;
You need to setup environment variableas and other things in the terminal window where the build should run.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ source LinuxX86-64Env.Set.sh&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Important&amp;#039;&amp;#039;&amp;#039; &amp;lt;br /&amp;gt;&lt;br /&gt;
It depends on the respective terminal window/tab. The build will not or unpredictable run in a different one.&lt;br /&gt;
&lt;br /&gt;
== Start building ==&lt;br /&gt;
&lt;br /&gt;
Work directory&lt;br /&gt;
&amp;lt;code&amp;gt;/share/linux2/aoo/trunk/main/instsetoo_native&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following command will use all available CPU cores to build most as possible in parallel:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ build --all -P8 -- -P8&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following command build and redirect all output to stdout and stderr into a single log file. Perfect for forwarding to someone else in case of build problems:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ build &amp;lt;options&amp;gt; &amp;gt; build_error_log_yyyy.mm.dd_hh.mm.txt 2&amp;gt;&amp;amp;1&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following can be used when you want to know how many hours the build took to complete:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ time build &amp;lt;options&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following is to clear things up when a project didn&amp;#039;t build successfully before starting again:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ build --prepare --from &amp;lt;prj_name&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When the same error occurs exactly again, then maybe the &amp;quot;--prepare&amp;quot; option doesn&amp;#039;t work for projects that were changed to gbuild. Then the respective solver directory needs to be deleted manually. Either from the following directory or in another sub-dir. Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ rm -rf main/solver/420/*.pro/workdir/CxxObject/&amp;lt;prj_name&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Cleanup the build tree ==&lt;br /&gt;
&lt;br /&gt;
Work directory&lt;br /&gt;
&amp;lt;code&amp;gt;/share/linux2/aoo/trunk/main/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following command needs to be executed to cleanup all build artefacts to be able to start again a clean build:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ dmake clean&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Important&amp;#039;&amp;#039;&amp;#039; &amp;lt;br /&amp;gt;&lt;br /&gt;
This will delete the &amp;quot;dmake&amp;quot; command itself. Therefore it&amp;#039;s needed to run configure, bootstrap and source again (see above).&lt;br /&gt;
&lt;br /&gt;
== Build breaker ==&lt;br /&gt;
&lt;br /&gt;
1. Module &amp;quot;svx&amp;quot; &amp;lt;br /&amp;gt;&lt;br /&gt;
2. Module &amp;quot;dbaccess&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The file &amp;lt;code&amp;gt;main/svx/source/fmcomp/fmgridif.cxx&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;main/dbaccess/source/ui/uno/ColumnControl.cxx&amp;lt;/code&amp;gt; should be compiled with enabled compiler optimization. However, this doesn&amp;#039;t work on the Intel x86-64 platform due to this GCC 4.9.3 bug (should be fixed with 5.0):&lt;br /&gt;
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58678&lt;br /&gt;
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65009&lt;br /&gt;
&lt;br /&gt;
The workaround is to disable the optimization for both files in the respective makefiles &amp;lt;code&amp;gt;main/svx/Library_svxcore.mk&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;main/dbaccess/source/ui/uno/makefile.mk&amp;lt;/code&amp;gt;. The following short patch should work:&lt;br /&gt;
&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. Makefile &amp;quot;main/svx/Library_svxcore.mk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;patch start&amp;gt; &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
--- Library_svxcore.mk.orig    2016-09-04 15:32:07.305410023 +0200 &amp;lt;br /&amp;gt;&lt;br /&gt;
+++ Library_svxcore.mk.new    2016-09-05 20:16:33.411649496 +0200 &amp;lt;br /&amp;gt;&lt;br /&gt;
@@ -121,7 +121,6 @@ &amp;lt;br /&amp;gt;&lt;br /&gt;
svx/source/engine3d/viewpt3d2 \ &amp;lt;br /&amp;gt;&lt;br /&gt;
svx/source/fmcomp/dbaexchange \ &amp;lt;br /&amp;gt;&lt;br /&gt;
svx/source/fmcomp/fmgridcl \ &amp;lt;br /&amp;gt;&lt;br /&gt;
- svx/source/fmcomp/fmgridif \ &amp;lt;br /&amp;gt;&lt;br /&gt;
svx/source/fmcomp/gridcell \ &amp;lt;br /&amp;gt;&lt;br /&gt;
svx/source/fmcomp/gridcols \ &amp;lt;br /&amp;gt;&lt;br /&gt;
svx/source/fmcomp/gridctrl \ &amp;lt;br /&amp;gt;&lt;br /&gt;
@@ -452,6 +451,23 @@ &amp;lt;br /&amp;gt;&lt;br /&gt;
)) &amp;lt;br /&amp;gt;&lt;br /&gt;
endif &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
+# the following source file can&amp;#039;t be compiled with &amp;quot;-Os&amp;quot; by gcc 4.9 as it &amp;lt;br /&amp;gt;&lt;br /&gt;
+# because of a bug in devirtualization optimization (#i125475#): &amp;lt;br /&amp;gt;&lt;br /&gt;
+#   &amp;lt;https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58678&amp;gt; &amp;lt;br /&amp;gt;&lt;br /&gt;
+#   &amp;lt;https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65009&amp;gt; &amp;lt;br /&amp;gt;&lt;br /&gt;
+# Compiling with &amp;quot;-O2&amp;quot; or &amp;lt;br /&amp;gt;&lt;br /&gt;
+# &amp;quot;-Os -fno-devirtualize -fno-devirtualize-speculatively&amp;quot; is sufficient to fix. &amp;lt;br /&amp;gt;&lt;br /&gt;
+ifeq ($(COM),GCC) &amp;lt;br /&amp;gt;&lt;br /&gt;
+$(eval $(call gb_Library_add_cxxobjects,svxcore,\ &amp;lt;br /&amp;gt;&lt;br /&gt;
+    svx/source/fmcomp/fmgridif \ &amp;lt;br /&amp;gt;&lt;br /&gt;
+    , $(gb_COMPILERNOOPTFLAGS) $(gb_LinkTarget_EXCEPTIONFLAGS) \ &amp;lt;br /&amp;gt;&lt;br /&gt;
+)) &amp;lt;br /&amp;gt;&lt;br /&gt;
+else &amp;lt;br /&amp;gt;&lt;br /&gt;
+$(eval $(call gb_Library_add_exception_objects,svxcore,\ &amp;lt;br /&amp;gt;&lt;br /&gt;
+    svx/source/fmcomp/fmgridif \ &amp;lt;br /&amp;gt;&lt;br /&gt;
+)) &amp;lt;br /&amp;gt;&lt;br /&gt;
+endif &amp;lt;br /&amp;gt;&lt;br /&gt;
+ &amp;lt;br /&amp;gt;&lt;br /&gt;
$(eval $(call gb_SdiTarget_SdiTarget,svx/sdi/svxslots,svx/sdi/svx)) &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
$(eval $(call gb_SdiTarget_set_include,svx/sdi/svxslots,\&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/patch end&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Makefile &amp;quot;main/dbaccess/Library_dbui.mk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;patch start&amp;gt;&lt;br /&gt;
&lt;br /&gt;
--- Library_dbui.mk.orig    2016-09-04 15:28:55.200594932 +0200 &amp;lt;br /&amp;gt;&lt;br /&gt;
+++ Library_dbui.mk.new    2016-09-06 00:34:05.241638508 +0200 &amp;lt;br /&amp;gt;&lt;br /&gt;
@@ -260,7 +260,6 @@ &amp;lt;br /&amp;gt;&lt;br /&gt;
dbaccess/source/ui/tabledesign/TableRowExchange \ &amp;lt;br /&amp;gt;&lt;br /&gt;
dbaccess/source/ui/tabledesign/TableUndo \ &amp;lt;br /&amp;gt;&lt;br /&gt;
dbaccess/source/ui/uno/AdvancedSettingsDlg \ &amp;lt;br /&amp;gt;&lt;br /&gt;
- dbaccess/source/ui/uno/ColumnControl \ &amp;lt;br /&amp;gt;&lt;br /&gt;
dbaccess/source/ui/uno/ColumnModel \ &amp;lt;br /&amp;gt;&lt;br /&gt;
dbaccess/source/ui/uno/ColumnPeer \ &amp;lt;br /&amp;gt;&lt;br /&gt;
dbaccess/source/ui/uno/DBTypeWizDlg \ &amp;lt;br /&amp;gt;&lt;br /&gt;
@@ -313,4 +312,21 @@ &amp;lt;br /&amp;gt;&lt;br /&gt;
)) &amp;lt;br /&amp;gt;&lt;br /&gt;
endif &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
+# the following source file can&amp;#039;t be compiled with &amp;quot;-Os&amp;quot; by gcc 4.9 as it &amp;lt;br /&amp;gt;&lt;br /&gt;
+# because of a bug in devirtualization optimization (#i125475#): &amp;lt;br /&amp;gt;&lt;br /&gt;
+#   &amp;lt;https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58678&amp;gt; &amp;lt;br /&amp;gt;&lt;br /&gt;
+#   &amp;lt;https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65009&amp;gt; &amp;lt;br /&amp;gt;&lt;br /&gt;
+# Compiling with &amp;quot;-O2&amp;quot; or &amp;lt;br /&amp;gt;&lt;br /&gt;
+# &amp;quot;-Os -fno-devirtualize -fno-devirtualize-speculatively&amp;quot; is sufficient to fix. &amp;lt;br /&amp;gt;&lt;br /&gt;
+ifeq ($(COM),GCC) &amp;lt;br /&amp;gt;&lt;br /&gt;
+$(eval $(call gb_Library_add_cxxobjects,dbui,\ &amp;lt;br /&amp;gt;&lt;br /&gt;
+    dbaccess/source/ui/uno/ColumnControl \ &amp;lt;br /&amp;gt;&lt;br /&gt;
+    , $(gb_COMPILERNOOPTFLAGS) $(gb_LinkTarget_EXCEPTIONFLAGS) \ &amp;lt;br /&amp;gt;&lt;br /&gt;
+)) &amp;lt;br /&amp;gt;&lt;br /&gt;
+else &amp;lt;br /&amp;gt;&lt;br /&gt;
+$(eval $(call gb_Library_add_exception_objects,dbui,\ &amp;lt;br /&amp;gt;&lt;br /&gt;
+    dbaccess/source/ui/uno/ColumnControl \ &amp;lt;br /&amp;gt;&lt;br /&gt;
+)) &amp;lt;br /&amp;gt;&lt;br /&gt;
+endif &amp;lt;br /&amp;gt;&lt;br /&gt;
+ &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;# vim: set noet sw=4 ts=4:&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/patch end&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Needed packages ==&lt;br /&gt;
&lt;br /&gt;
The following packages (incl. their dependencies) that need to be available or installed additionally:&lt;br /&gt;
&lt;br /&gt;
* ant&lt;br /&gt;
* autoconf&lt;br /&gt;
* bison&lt;br /&gt;
* cups-devel&lt;br /&gt;
* flex&lt;br /&gt;
* gcc&lt;br /&gt;
* gcc++&lt;br /&gt;
* gperf&lt;br /&gt;
* gtk2&lt;br /&gt;
* gtk2-devel&lt;br /&gt;
* hamcreast&lt;br /&gt;
* java-1.8.0-openjdk&lt;br /&gt;
* java-1.8.0-openjdk-devel&lt;br /&gt;
* junit&lt;br /&gt;
* libtiff&lt;br /&gt;
* libXt-devel&lt;br /&gt;
* make&lt;br /&gt;
* ORBit&lt;br /&gt;
* pam-devel&lt;br /&gt;
* patch&lt;br /&gt;
* perl-CPAN&lt;br /&gt;
* perl-Env&lt;br /&gt;
* rpm&lt;br /&gt;
* rpm-build&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Important&amp;#039;&amp;#039;&amp;#039; &amp;lt;br /&amp;gt;&lt;br /&gt;
Java 1.8 JDK has to be installed due to dependencies for ant, hamcreast and junit.&lt;br /&gt;
&lt;br /&gt;
== Building a release version ==&lt;br /&gt;
&lt;br /&gt;
Additional things that need to done when building a release version out of a SVN branch (e.g., AOO 4.1.3 from &amp;quot;AOO413&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
=== Packages ===&lt;br /&gt;
&lt;br /&gt;
The following packages (incl. their dependencies) that need to be available or installed additionally:&lt;br /&gt;
&lt;br /&gt;
* dpkg&lt;br /&gt;
* dbus-glib-devel&lt;br /&gt;
* GConf2-devel&lt;br /&gt;
* gnome-vfs2&lt;br /&gt;
* gnome-vfs2-devel&lt;br /&gt;
* gstreamer-devel&lt;br /&gt;
* gstreamer-plugins-base-devel&lt;br /&gt;
* mesa-libGLU-devel&lt;br /&gt;
* ORBit2&lt;br /&gt;
* ORBit2-devel&lt;br /&gt;
* perl-Archive-Zip&lt;br /&gt;
* perl-Crypt-SSLeay&lt;br /&gt;
* perl-Digest-MD5&lt;br /&gt;
* perl-Digest-SHA&lt;br /&gt;
* perl-libwww-perl&lt;br /&gt;
* perl-LWP-Protocol-https&lt;br /&gt;
* perl-XML-Parser&lt;br /&gt;
&lt;br /&gt;
=== Configure ===&lt;br /&gt;
&lt;br /&gt;
The configure options for a release build can be found here:&lt;br /&gt;
&lt;br /&gt;
http://svn.apache.org/viewvc/openoffice/devtools/build-scripts/4.1.3/unxlngix6/build_aoo64bit_on_centos5.sh&lt;br /&gt;
&lt;br /&gt;
== Performance results ==&lt;br /&gt;
&lt;br /&gt;
* Intel Core i7-4710HQ 2.5 GHz (8 cores)&lt;br /&gt;
* 16 GB RAM, 256 GB SSD&lt;br /&gt;
* Fedora 21 x86-64 (Kernel 4.1.13-100.fc21.x86_64, glibc 2.20-8)&lt;br /&gt;
&lt;br /&gt;
=== Trunk ===&lt;br /&gt;
&lt;br /&gt;
* Build command:&lt;br /&gt;
  &amp;lt;code&amp;gt;$ build --all -P8 -- -P8&amp;lt;/code&amp;gt;&lt;br /&gt;
* Time for a full build: 01h 05m 41s (as of 2016-10-09&lt;br /&gt;
&lt;br /&gt;
=== AOO413 branch ===&lt;br /&gt;
&lt;br /&gt;
* Build command (with P8 and only &amp;quot;de en-US fr ja pt&amp;quot; as languages):&lt;br /&gt;
  &amp;lt;code&amp;gt;$ build_aoo64bit_on_centos5.sh&amp;lt;/code&amp;gt;&lt;br /&gt;
* Time for a full build: 00h 50m 32s (as of 2016-10-09)&lt;br /&gt;
&lt;br /&gt;
= Fedora 19 and 20 =&lt;br /&gt;
&lt;br /&gt;
== Build Instructions ==&lt;br /&gt;
&lt;br /&gt;
The [[Building|build procedure]] is the same as for other Linux systems.&lt;br /&gt;
&lt;br /&gt;
Required packages:&lt;br /&gt;
&lt;br /&gt;
 $ yum install tcsh perl-Archive-Zip gcc gcc-c++ cups-devel \&lt;br /&gt;
               pam-devel java-1.7.0-openjdk-devel gperf freetype-devel \&lt;br /&gt;
               gtk2-devel libIDL-devel libXaw-devel bison patch GConf2-devel \&lt;br /&gt;
               gnome-vfs2-devel ant make tar rpm-build flex junit4 \&lt;br /&gt;
               perl-LWP-UserAgent-Determined perl-XML-Parser \&lt;br /&gt;
               perl-Digest-SHA ORBit2-devel perl-LWP-Protocol-https&lt;br /&gt;
&lt;br /&gt;
Build notes:&lt;br /&gt;
&lt;br /&gt;
* The perl-Digest-SHA dependency is not caught until bootstrap&lt;br /&gt;
* The ORBit2-devel dependency is not caught until building the &amp;quot;shell&amp;quot; module&lt;br /&gt;
* Build breaks in &amp;quot;hsqldb&amp;quot;: to build with Java7, you need to apply the patch at https://issues.apache.org/ooo/attachment.cgi?id=80961&amp;amp;action=diff&lt;br /&gt;
* Build breaks in &amp;quot;moz&amp;quot;: configure with --disable-mozilla to work around it.&lt;br /&gt;
&lt;br /&gt;
= Fedora 10 and 14 =&lt;br /&gt;
&lt;br /&gt;
== Build Instructions ==&lt;br /&gt;
&lt;br /&gt;
The [[Building|build procedure]] is the same as for other Linux systems.&lt;br /&gt;
&lt;br /&gt;
Required packages:&lt;br /&gt;
&lt;br /&gt;
 $ yum install tcsh perl-Archive-Zip gcc gcc-c++ cups-devel \&lt;br /&gt;
               pam-devel java-1.6.0-openjdk-devel gperf freetype-devel \&lt;br /&gt;
               gtk2-devel libIDL-devel libXaw-devel bison patch GConf2-devel \&lt;br /&gt;
               gnome-vfs2-devel ant make&lt;br /&gt;
&lt;br /&gt;
== Quick start guide ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;Still valid?&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
$ yum -y install mono-devel perl-Archive-Zip ant bison \&lt;br /&gt;
         flex pam-devel cups-devel gperf libxslt-devel openldap-devel \&lt;br /&gt;
         firefox-devel xorg-x11-devel gstreamer-devel \&lt;br /&gt;
         gstreamer-plugins-base-devel db4-devel unixODBC-devel \&lt;br /&gt;
         xml-commons-jaxp-1.3-apis xalan-j2 boost-devel \&lt;br /&gt;
         unixODBC-devel qt-devel subversion autoconf automake \&lt;br /&gt;
         gtk2-devel gcc-c++  gnome-vfs2-devel rpm-build \&lt;br /&gt;
         expat-devel python-devel curl-devel&lt;br /&gt;
&lt;br /&gt;
$ ./autogen.sh -with-distro=SUSE \&lt;br /&gt;
         --with-jdk-home=/usr/lib/jvm/java-1.5.0-gcj \&lt;br /&gt;
         --with-ant-home=/usr/share/ant \&lt;br /&gt;
         --with-system-mozilla=firefox \&lt;br /&gt;
         --disable-Xaw \&lt;br /&gt;
         --disable-kde \&lt;br /&gt;
         --disable-mono \&lt;br /&gt;
         --enable-opengl --enable-ogltrans \&lt;br /&gt;
         --disable-neon \&lt;br /&gt;
         --enable-debug&lt;br /&gt;
&lt;br /&gt;
Another list:&lt;br /&gt;
* http://people.redhat.com/caolanm/ooocvs/makefc3chroot&lt;br /&gt;
&lt;br /&gt;
Blog about building ooo-build on Fedora 7:&lt;br /&gt;
* http://openofficeorgfoo.blogspot.com/2007/12/building-ooo-build-from-source.html&lt;br /&gt;
&lt;br /&gt;
== Fedora packaging ==&lt;br /&gt;
&lt;br /&gt;
=== Fedora 14 ===&lt;br /&gt;
&lt;br /&gt;
The Fedora 14 spec file can be found at http://koji.fedoraproject.org/koji/buildinfo?buildID=276232 (download the srpm, and uncompress it (rpm2cpio &amp;lt;file&amp;gt; | cpio -idv) ); you&amp;#039;ll see the single spec file openoffice.org.spec ; note that it doesn&amp;#039;t build cleanly, you need to apply the patch from https://issues.apache.org/ooo/show_bug.cgi?id=114999&lt;br /&gt;
&lt;br /&gt;
=== Fedora 19 ===&lt;br /&gt;
&lt;br /&gt;
* HSQLDB does not build with Java 7: see https://issues.apache.org/ooo/show_bug.cgi?id=121754 for the relevant patches.&lt;br /&gt;
* Spec files for dmake and epm by Fred Ollinger are at https://github.com/fredollinger/aooo-fedora-rawhide&lt;br /&gt;
* A note from Ariel about dictionaries: http://mail-archives.apache.org/mod_mbox/openoffice-dev/201303.mbox/%3C20130329145345.GC2969%40localhost%3E&lt;br /&gt;
&lt;br /&gt;
= Windows 7, Windows 8.1, Windows 10 =&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Complete requirements found at [https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO#General_Build_Requirements General Build Requirements] and [https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Building_on_Windows Building on Windows].&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
This is a &amp;#039;&amp;#039;&amp;#039;sample&amp;#039;&amp;#039;&amp;#039; step-by-step guide - check the complete requirements and report on dev@openoffice.apache.org, if problems with this step-by-step guide occur.&lt;br /&gt;
&lt;br /&gt;
*Install Cygwin, &amp;#039;&amp;#039;&amp;#039;32-bit version&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
**Browse to [https://www.cygwin.com https://www.cygwin.com] and click on the setup-x86.exe link to download the most recent 32-bit version (the most recent Cygwin DLL at the moment is 3.0.7) or use [https://www.cygwin.com/setup-x86.exe this direct link]&lt;br /&gt;
**Run the installer and click through the questions&lt;br /&gt;
**On the &amp;quot;Choose A Download Site&amp;quot; select a nearby download server&lt;br /&gt;
**Expect a &amp;quot;Setup Alert&amp;quot; dialog box on the first cygwin install on the computer: click OK to close it&lt;br /&gt;
**On the page that allows you to select additional packages select: &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt; From the &amp;#039;&amp;#039;&amp;#039;Archive&amp;#039;&amp;#039;&amp;#039; category: &amp;lt;pre&amp;gt;zip, unzip&amp;lt;/pre&amp;gt; From the &amp;#039;&amp;#039;&amp;#039;Devel&amp;#039;&amp;#039;&amp;#039; category: &amp;lt;pre&amp;gt;autoconf, gperf, gcc-g++, bison, flex, patch, subversion, make&amp;lt;/pre&amp;gt; From the &amp;#039;&amp;#039;&amp;#039;Net&amp;#039;&amp;#039;&amp;#039; category: &amp;lt;pre&amp;gt;rsync&amp;lt;/pre&amp;gt;From the &amp;#039;&amp;#039;&amp;#039;Perl&amp;#039;&amp;#039;&amp;#039; category: &amp;lt;pre&amp;gt;perl, perl-XML-SAX-Expat, perl-Archive-Zip, perl-LWP-Protocol-https, perl-XML-parser, perl-libwww-perl, perl-Digest-SHA, perl-Net-SSLeay&amp;lt;/pre&amp;gt;As a shortcut you can install everything needed with one command:&amp;lt;pre&amp;gt;setup-x86.exe -P zip -P unzip -P autoconf -P gperf -P gcc-g++ -P bison -P flex -P patch -P subversion -P make -P rsync -P perl -P perl-XML-SAX-Expat -P perl-Archive-Zip -P perl-LWP-Protocol-https -P perl-XML-parser -P perl-libwww-perl -P perl-Digest-SHA -P perl-Net-SSLeay&amp;lt;/pre&amp;gt;If you will use git, you need in addition from the &amp;#039;&amp;#039;&amp;#039;Devel&amp;#039;&amp;#039;&amp;#039; category the packages:&amp;lt;pre&amp;gt;git, git-svn&amp;lt;/pre&amp;gt;&amp;lt;i&amp;gt;(If you prefer to install packages with a Linux kind of touch, you can skip selecting the packages and instead select just the package &amp;lt;b&amp;gt;lynx&amp;lt;/b&amp;gt; (enter lynx in the Search box and select the lynx entry in the Web/Default section). You would then install the other packages from the cygwin command line using lynx as explained ahead. However, selecting the packages from the Cygwin interface is recommended.)&amp;lt;/i&amp;gt;&lt;br /&gt;
**Click Next to finish package selection.&lt;br /&gt;
**Click Next to resolve dependencies.&lt;br /&gt;
**After installation is finished click the Finish button to close the dialog.&lt;br /&gt;
&lt;br /&gt;
*Start Cygwin bash in a terminal&lt;br /&gt;
&lt;br /&gt;
::In Windows 7 and later you can just type &amp;quot;cygwin&amp;quot; into the Start Menu search bar and then click on the Cygwin App. Or you can:&lt;br /&gt;
::*Press WindowsKey-R&lt;br /&gt;
::*Type &amp;quot;C:\cygwin\Cygwin.bat&amp;quot; (if that&amp;#039;s the path you installed Cygwin to)&lt;br /&gt;
::*Hit Return.&lt;br /&gt;
:::&amp;lt;i&amp;gt;(If you haven&amp;#039;t installed the necessary packages from the Cygwin interface yet because you would prefer to install them using lynx from the Cygwin command line, then you should do so now. First install &amp;lt;b&amp;gt;apt-cyg&amp;lt;/b&amp;gt; from the Github repository:)&amp;lt;pre&amp;gt;cd /cygdrive/c/temp&amp;lt;/pre&amp;gt;(or any other temporary directory of your choice)&amp;lt;pre&amp;gt;lynx -source rawgit.com/transcode-open/apt-cyg/master/apt-cyg &amp;gt; apt-cyg&amp;amp;#10;chmod +x apt-cyg&amp;amp;#10;mv apt-cyg /usr/local/bin/&amp;lt;/pre&amp;gt;Use &amp;lt;b&amp;gt;apt-cyg&amp;lt;/b&amp;gt; to install missing cygwin packages:&amp;lt;pre&amp;gt;apt-cyg install perl zip unzip gperf autoconf rsync gcc-g++ bison flex patch subversion make&amp;lt;/pre&amp;gt;(You must also provide to install the missing perl packages, for example with &amp;quot;cpan -i Archive::Zip LWP::UserAgent LWP::Protocol XML::Parser&amp;quot; etc. however there can be some dependency conflicts, the recommended method is installing the packages from the cygwin interface)&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Replace symlinked awk with copy of gawk.exe:&amp;lt;pre&amp;gt;rm /usr/bin/awk&amp;amp;#10;mv /usr/bin/gawk.exe /usr/bin/awk.exe&amp;lt;/pre&amp;gt;Note that if the &amp;lt;code&amp;gt;rm&amp;lt;/code&amp;gt; command fails then the &amp;lt;code&amp;gt;mv&amp;lt;/code&amp;gt; is not necessary.&lt;br /&gt;
&lt;br /&gt;
* Install Java, &amp;#039;&amp;#039;&amp;#039;32-bit version&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
::Choose between JDK or OpenJDK. Versions 1.7 and 1.8 are known to work.&lt;br /&gt;
::(We need the 32-bit version because JNI requires the JVM&amp;#039;s bitness to match the C/C++ bitness).&lt;br /&gt;
&lt;br /&gt;
* Install Apache Ant&lt;br /&gt;
**Browse to https://ant.apache.org/bindownload.cgi&lt;br /&gt;
**Chose a mirror near you.&lt;br /&gt;
**Download the zip archive (currently that is apache-ant-1.9.14-bin.zip or apache-ant-1.10.6-bin.zip).&amp;lt;br /&amp;gt; Note that Apache Ant 1.10.x will only work with Java 8.&lt;br /&gt;
**Open downloaded archive in file explorer and unzip it to a location of your choice, eg &amp;lt;code&amp;gt;c:\&amp;lt;/code&amp;gt;.  Note that &amp;lt;code&amp;gt;C:\Program Files (x86)&amp;lt;/code&amp;gt; will not work due to problems of quoting the spaces and parentheses.&lt;br /&gt;
    &lt;br /&gt;
* Install Microsoft Windows SDK for Windows 7 and .NET Framework 3.5. SP1 (recommended by Microsoft. Note: later versions of the Windows SDK will not work. AOO can not be built with MSVC 2010 or 2012 - MSVC 2008 is needed and is found in the Windows 7 SDK) &lt;br /&gt;
** Browse to http://www.microsoft.com/en-us/download/details.aspx?id=3138.&lt;br /&gt;
** Download winsdk_web.exe and run the web installer. You can use the default values in the installation dialog, except when prompted with the installation path use a path that has no spaces or parentheses (e.g. &amp;quot;C:\Microsoft_SDKs\Windows\v7.0&amp;quot;), because otherwise the build process will choke on those spaces or parentheses.&lt;br /&gt;
** Alternatively download the iso image http://www.microsoft.com/en-us/download/details.aspx?id=18950. Burn it to a dvd or unzip it.&lt;br /&gt;
&lt;br /&gt;
* Download MS Visual C++ 2008 SP1 Redistributable Package (x86)&lt;br /&gt;
** https://www.microsoft.com/en-us/download/details.aspx?id=26368 (There have been security updates, which are not included in older versions)&lt;br /&gt;
**Download files vcredist_x86.exe and vcredist_x64.exe&amp;lt;br /&amp;gt; We need both 32 and 64-bit versions because we build 64-bit shell extensions. If you download the most recent version of Apache OpenOffice and unpack it, you will find the files vcredist_x86.exe and vcredist_x64.exe in folder redist. You can use them as well.&lt;br /&gt;
&lt;br /&gt;
* Optional: Install DirectX SDK (for graphics hardware support in the slide show)&lt;br /&gt;
** Browse to http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&amp;amp;id=6812&lt;br /&gt;
** Download and run DXSDK_Jun10.exe. Choose to install to a custom path, and use a path that has neither spaces nor parentheses (e.g. &amp;lt;code&amp;gt;C:\Microsoft_DirectX_SDK_June_2010&amp;lt;/code&amp;gt;), because otherwise the build will not be able to parse the path and will choke on the spaces or parentheses. &amp;lt;i&amp;gt;(If you receive an S1023 error towards the end of the installation, [https://support.microsoft.com/it-it/kb/2728613 the fix is simple]. The issue occurs because a newer version of the Visual C++ 2010 Redistributable is present on the computer. The June 2010 DirectX SDK installs version 10.0.30319 of the Visual C++ Redistributable. To resolve this issue, you must uninstall all versions of the Visual C++ 2010 Redistributable before installing the June 2010 DirectX SDK. You may have one or more of the following products installed: Visual C++ 2010 Redistributable x86, Visual C++ 2010 Redistributable x64.  You can use Add or Remove Programs in Control Panel to uninstall the products. Or, you can run the following commands from an administrator command prompt: &amp;lt;pre&amp;gt;MsiExec.exe /passive /X{F0C3E5D1-1ADE-321E-8167-68EF0DE699A5} &amp;amp;#10;MsiExec.exe /passive /X{1D8E6291-B0D5-35EC-8441-6616F567A0F7}&amp;lt;/pre&amp;gt; and then run the DirectX SDK installer. After installing the June 2010 DirectX SDK, you may then reinstall the most current version of the [http://www.microsoft.com/download/details.aspx?id=26999 Visual C++ 2010 Redistributable Package].)&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Optional: Install Windows Driver Kit 7.1.0 (for enabling activex)&lt;br /&gt;
** Download [http://www.microsoft.com/en-us/download/details.aspx?id=11800 WDK 7.1.0] (is an ISO image). Cannot use later versions of Windows Driver Kit because they do not have ATL which is needed to build AOO with ActiveX. (I recommend to download using Internet Explorer, otherwise the install may fail a Windows Authenticity test, whereas this does not happen using Internet Explorer to download the ISO image.)&lt;br /&gt;
** Mount the ISO image and install.&lt;br /&gt;
&lt;br /&gt;
* Optional: Install NSIS installer (for creating the EXE installer)&lt;br /&gt;
** Browse to [https://sourceforge.net/projects/nsis/files/ https://sourceforge.net/projects/nsis/files/]&lt;br /&gt;
** Download and run the installer (note that versions of NSIS &amp;gt;= 3.* are only compatible with branch 4.1.3 or later! otherwise you will have to install at most [https://sourceforge.net/projects/nsis/files/NSIS%202/2.51/nsis-2.51-setup.exe/download NSIS 2.51]). Recommended to install to custom location, choose a path without any spaces (e.g. &amp;quot;C:\NSIS&amp;quot;).&lt;br /&gt;
** For Asian languages (ja, ko, zh-CN, zh-TW) the language files have to be edited, otherwise the graphics in the first installer windows don&amp;#039;t fit. In &amp;quot;{NSISDIR}\Contrib\Language files\Japanese.nlf&amp;quot; (Korean.nlf, TradChinese.nlf, SimpChinese.nlf accordingly) change: &amp;lt;pre&amp;gt;Font and size - dash (-) means default&amp;amp;#10;{font-name}&amp;amp;#10;{font-size}&amp;lt;/pre&amp;gt; to:&amp;lt;pre&amp;gt;Font and size - dash (-) means default&amp;amp;#10;-&amp;amp;#10;-&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* Optional: Install the MozillaBuild tools. These are needed to build the &amp;lt;b&amp;gt;NSS&amp;lt;/b&amp;gt; (&amp;quot;Network Security Services&amp;quot;) module. Download from [https://ftp.mozilla.org/pub/mozilla/libraries/win32/ here]. Install to a custom path without any spaces, such as &amp;lt;code&amp;gt;C:\mozilla-build&amp;lt;/code&amp;gt;. MozillaBuild tools version 3.0 or newer require a 64-bit Windows. When building on 32-bit Windows it is recommended to use version 2.2.0.&lt;br /&gt;
&lt;br /&gt;
* Get AOO source code. You can use the source release or check out from SVN. Build from source release if you want to build OpenOffice once but don&amp;#039;t want to contribute patches. If you will contribute patches, you need to generate them against an actual version of trunk. In this case check out from SVN to be able to rebase before generating patches. You can work with subversion or with git-svn. Do not use a tool that changes line endings, such as the default configuration of TortoiseSVN. NOTE: Do not place the source directory under the Cygwin file system. This means that placing it, for example, at &amp;#039;/home/aoo/source&amp;#039; is not recommended.&lt;br /&gt;
&lt;br /&gt;
::; Source release:&lt;br /&gt;
::* Browse to http://www.openoffice.org/download/other.html#tested-sdk and locate the table row that starts with &amp;quot;Source code&amp;quot;&lt;br /&gt;
::* Download source code in an archive format of your choice (note that tar.bz2 is typically smaller than tar.gz and zip)&lt;br /&gt;
::* Optional: Verify the archive - following given link or instructions.&lt;br /&gt;
::* Unpack source (in cygwin-terminal). Use the file name exactly as downloaded.&amp;lt;pre&amp;gt;cd /tmp&amp;amp;#10;tar -xjf &amp;lt;download-location&amp;gt;/&amp;lt;downloaded-source-release.tar.bz2&amp;gt;&amp;amp;#10;cd &amp;lt;unpacked-source&amp;gt;/main&amp;amp;#10;&amp;lt;/pre&amp;gt;Do not use Windows unpacker, they might cause access right problems. &lt;br /&gt;
&lt;br /&gt;
::; Checkout from SVN using subversion :&lt;br /&gt;
::*&amp;lt;i&amp;gt;(If you haven&amp;#039;t installed the subversion package from the cygwin interface, please do so now by re-running the cygwin installer, or if you used lynx and apt-cyg then:)&amp;lt;pre&amp;gt;apt-cyg install subversion&amp;lt;/pre&amp;gt;&amp;lt;/i&amp;gt; &lt;br /&gt;
::*Start with creating a parent directory for the source code: &amp;lt;pre&amp;gt;mkdir /cygdrive/c/source&amp;amp;#10;cd /cygdrive/c/source&amp;lt;/pre&amp;gt;&lt;br /&gt;
::*Check out source from Apache SVN repository&amp;lt;pre&amp;gt;svn co https://svn.apache.org/repos/asf/openoffice/trunk aoo-trunk&amp;amp;#10;cd aoo-trunk/main&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
::; Checkout from Gitbox using git (Since 2019-08-03):&lt;br /&gt;
::*&amp;lt;i&amp;gt;(If you haven&amp;#039;t installed the git package from the cygwin interface, please do so now by re-running the cygwin installer, or if you used lynx and apt-cyg then:)&amp;lt;pre&amp;gt;apt-cyg install git&amp;lt;/pre&amp;gt;&amp;lt;/i&amp;gt; &lt;br /&gt;
::*Start with creating a parent directory for the source code: &amp;lt;pre&amp;gt;mkdir /cygdrive/c/source&amp;amp;#10;cd /cygdrive/c/source&amp;lt;/pre&amp;gt;&lt;br /&gt;
::*Check out source from Apache Git repository&amp;lt;pre&amp;gt;git clone https://gitbox.apache.org/repos/asf/openoffice.git aoo&amp;amp;#10;cd aoo/main&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::; Checkout from SVN using git-svn :&lt;br /&gt;
::*&amp;lt;i&amp;gt;(If you haven&amp;#039;t installed git and git-svn from the cygwin interface, please do so now by re-running the cygwin installer, or if you used lynx and apt-cyg then:)&amp;lt;pre&amp;gt;apt-cyg install git git-svn&amp;lt;/pre&amp;gt;&amp;lt;/i&amp;gt;&lt;br /&gt;
::*Get the actual revision number from http://svn.apache.org/viewvc/OpenOffice/trunk/, e.g. 1234567&lt;br /&gt;
::*Create an empty directory and change to it, e.g.&amp;lt;pre&amp;gt;mkdir /cygdrive/c/source&amp;amp;#10;cd /cygdrive/c/source&amp;lt;/pre&amp;gt;&lt;br /&gt;
::*Check out source from Apache SVN repository&amp;lt;pre&amp;gt;git svn clone --revision 1234567:HEAD https://svn.apache.org/repos/asf/openoffice/trunk&amp;amp;#10;cd trunk/main&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Remember the source path (this is optional, it makes for an easy reference):&amp;lt;pre&amp;gt;SourceMain=`pwd`&amp;lt;/pre&amp;gt; [Why? I have not used it. [[User:Regina|Regina]] ([[User talk:Regina|talk]]) 21:42, 24 February 2013 (UTC)]&lt;br /&gt;
:[Added explanation above [[User:Andre|Andre]]]&lt;br /&gt;
&lt;br /&gt;
* Optional: Get dbghelp.dll (for using the &amp;lt;code&amp;gt;--enable-dbgutil&amp;lt;/code&amp;gt; configure option)&lt;br /&gt;
** This dll is part of MS Visual Studio. If you do not have it installed, download and install &amp;quot;Visual Studio Community&amp;quot; from https://www.visualstudio.com/en-us/downloads/download-visual-studio-vs.aspx &lt;br /&gt;
** Copy file to &amp;lt;code&amp;gt;main/external/dbghelp&amp;lt;/code&amp;gt;. Use Windows file manager or in cygwin terminal&amp;lt;pre&amp;gt;cp /cygdrive/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio\ 9.0/Common7/IDE/dbghelp.dll $SourceMain/external/dbghelp&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Copy vcredist_x86.exe and vcredist_x64.exe (see above) to main/external/vcredist.&lt;br /&gt;
** Use Windows file manager or in cygwin terminal&amp;lt;pre&amp;gt;cp &amp;lt;download-location&amp;gt;/vcredist_x86.exe $SourceMain/external/vcredist&amp;amp;#10;cp &amp;lt;download-location&amp;gt;/vcredist_x64.exe $SourceMain/external/vcredist&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Get GDI+ redistributable:&lt;br /&gt;
**Browse to https://www.microsoft.com/en-us/download/details.aspx?id=18909&lt;br /&gt;
**Download WindowsXP-KB975337-x86-ENU.exe&lt;br /&gt;
**Run WindowsXP-KB975337-x86-ENU.exe&lt;br /&gt;
**Enter a temporary path (eg c:\temp\gdiplus) in the dialog and click OK to extract files&lt;br /&gt;
**Copy gdiplus.dll to main/external/gdiplus&amp;lt;pre&amp;gt;cp /cygdrive/c/temp/gdiplus/asms/10/msft/windows/gdiplus/gdiplus.dll $SourceMain/external/gdiplus/&amp;lt;/pre&amp;gt;&lt;br /&gt;
** Remove the temporary path&amp;lt;pre&amp;gt;rm -fr /cygdrive/c/temp/gdiplus&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Get msvcr100.dll:&lt;br /&gt;
**We need the 32-bit dll (version 10.0.40219.325), available from: https://www.microsoft.com/en-US/download/details.aspx?id=26999&amp;lt;pre&amp;gt;cp /cygdrive/c/Windows/System32/msvcr100.dll $SourceMain/external/msvcp100&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Make sure that you are in the main source directory:&amp;lt;pre&amp;gt;cd $SourceMain&amp;lt;/pre&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
* Run autoconf to create the configure script:&amp;lt;pre&amp;gt;autoconf&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Call configure&lt;br /&gt;
** For those paths that do have spaces, use the cygpath tool to get a shortened version without any spaces, which you can then use in the configuration directives without any trouble (adapt paths as necessary):&amp;lt;pre&amp;gt;$ cygpath -m -s &amp;quot;C:\Program Files (x86)\Java\jdk1.8.0_73&amp;quot; &amp;amp;#10;C:/PROGRA~2/Java/JDK18~1.0_7 &amp;amp;#10;$ cygpath -m -s &amp;quot;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC&amp;quot; &amp;amp;#10;C:/PROGRA~2/MI1DCA~1.0/VC&amp;lt;/pre&amp;gt;Run configure (again adapt paths as necessary)&amp;lt;pre&amp;gt;SDK_PATH=&amp;quot;/cygdrive/c/Microsoft_SDKs/Windows/v7.0&amp;quot;&amp;amp;#10;./configure \&amp;amp;#10;    --with-frame-home=&amp;quot;$SDK_PATH&amp;quot; \&amp;amp;#10;    --with-psdk-home=&amp;quot;$SDK_PATH&amp;quot; \&amp;amp;#10;    --with-midl-path=&amp;quot;$SDK_PATH/bin&amp;quot; \&amp;amp;#10;    --with-ant-home=&amp;quot;/cygdrive/c/apache-ant-1.9.14&amp;quot; \&amp;amp;#10;    --with-jdk-home=&amp;quot;C:/PROGRA~2/Java/JDK18~1.0_7&amp;quot; \&amp;amp;#10;    --with-csc-path=&amp;quot;C:/Windows/Microsoft.NET/Framework/v3.5&amp;quot; \&amp;amp;#10;    --with-cl-home=&amp;quot;C:/PROGRA~2/MI1DCA~1.0/VC&amp;quot; \&amp;amp;#10;    --with-asm-home=&amp;quot;C:/PROGRA~2/MI1DCA~1.0/VC/bin&amp;quot; \&amp;amp;#10;    --with-dmake-url=&amp;quot;https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2&amp;quot; \&amp;amp;#10;    --disable-pch \&amp;amp;#10;    --disable-atl \&amp;amp;#10;    --disable-activex \&amp;amp;#10;    --disable-nss-module \&amp;amp;#10;    --without-junit&amp;lt;/pre&amp;gt;If you have installed the optional DirectX SDK then you can add the switch:&amp;lt;pre&amp;gt;    --with-directx-home=&amp;quot;C:/Microsoft_DirectX_SDK_June_2010&amp;quot;&amp;lt;/pre&amp;gt;If you have installed Windows Driver Kit 7.1.0 and would like to build with ATL and ActiveX functionality then remove the &amp;lt;code&amp;gt;--disable-activex&amp;lt;/code&amp;gt; and the &amp;lt;code&amp;gt;--disable-atl&amp;lt;/code&amp;gt; directives, and add the atl home directives: &amp;lt;pre&amp;gt;    --with-atl-include-dir=/cygdrive/c/WinDDK/7600.16385.1/inc/atl71 \&amp;amp;#10;    --with-atl-lib-dir=/cygdrive/c/WinDDK/7600.16385.1/lib/ATL/i386 \&amp;amp;#10;    --with-mfc-include-dir=/cygdrive/c/WinDDK/7600.16385.1/inc/mfc42 \&amp;amp;#10;    --with-mfc-lib-dir=/cygdrive/c/WinDDK/7600.16385.1/lib/Mfc/i386&amp;lt;/pre&amp;gt;If you have installed NSIS you can use the relative directive &amp;lt;pre&amp;gt;    --with-nsis-path=&amp;quot;C:/NSIS&amp;quot;&amp;lt;/pre&amp;gt;If you have installed MozillaBuild tools you can use the relative switch:&amp;lt;pre&amp;gt;    --with-mozilla-build=&amp;quot;/cygdrive/d/mozilla-build&amp;quot;&amp;lt;/pre&amp;gt;You may also enable a few more switches (used for official releases: --enable-win-x64-shellext):&amp;lt;pre&amp;gt;    --enable-win-x64-shellext \&amp;amp;#10;    --enable-wiki-publisher \&amp;amp;#10;    --enable-category-b \&amp;amp;#10;    --enable-bundled-dictionaries&amp;lt;/pre&amp;gt;and if you would like to build for different locales you can use the lang switch (in this example, for English United States and for Italian):&amp;lt;pre&amp;gt;    --with-lang=&amp;quot;en-US it&amp;quot;&amp;lt;/pre&amp;gt;If you have copied over the dbghelp.dll and would like these extra features you can enable the debug switch:&amp;lt;pre&amp;gt;    --enable-dbgutil&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Finish configuration and download missing external source tarballs and extensions&amp;lt;pre&amp;gt;./bootstrap&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Include the configured environment&amp;lt;pre&amp;gt;source winenv.set.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Build&amp;lt;pre&amp;gt;cd instsetoo_native/&amp;amp;#10;build --all&amp;lt;/pre&amp;gt;Depending on your computer this will take one or more hours to finish. You may want to experiment with the -P options for multi process builds to reduce the build time. &amp;lt;pre&amp;gt;build --all -P&amp;lt;m&amp;gt; -- -P&amp;lt;n&amp;gt;&amp;lt;/pre&amp;gt; tells build to use &amp;lt;code&amp;gt;m&amp;lt;/code&amp;gt; processes (build up to &amp;lt;code&amp;gt;m&amp;lt;/code&amp;gt; modules in parallel) and &amp;lt;code&amp;gt;n&amp;lt;/code&amp;gt; threads for each module.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install&amp;lt;br/&amp;gt;There are three options:&lt;br /&gt;
*# Regular install with integration into Windows.&amp;lt;br/&amp;gt;This allows only one instance of AOO to be installed.&lt;br /&gt;
*#* Start setup.exe and click through dialog:&amp;lt;br/&amp;gt;&amp;lt;pre&amp;gt;$SourceMain/instsetoo_native/wntmsci12.pro/OpenOffice/msi/install/en-US/setup.exe&amp;lt;/pre&amp;gt;&lt;br /&gt;
*#* Apache OpenOffice can be started via the Windows start menu.&lt;br /&gt;
*# Install without integration into Windows.&amp;lt;br/&amp;gt;This allows several instance of AOO, based on the same version, to be installed side by side.&amp;lt;br/&amp;gt;It still requires Administrator permissions.&lt;br /&gt;
*#* Start &amp;lt;code&amp;gt;setup.exe&amp;lt;/code&amp;gt; with option &amp;lt;code&amp;gt;-a&amp;lt;/code&amp;gt;:&amp;lt;br/&amp;gt;&amp;lt;pre&amp;gt;$SourceMain/instsetoo_native/wntmsci12.pro/OpenOffice/msi/install/en-US/setup.exe -a&amp;lt;/pre&amp;gt;&lt;br /&gt;
*#* Enter an installation path into the dialog and click through the dialog to finish installation.&lt;br /&gt;
*#* Start AOO by running&amp;lt;br/&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;installation-path&amp;gt;/program/soffice.exe&amp;lt;/pre&amp;gt;&lt;br /&gt;
*# Unpack archive without installation.&amp;lt;br/&amp;gt;This does not require Administrator permissions&lt;br /&gt;
*#* Go to installation directory:&amp;lt;br/&amp;gt;&amp;lt;pre&amp;gt;cd &amp;lt;installation-target&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
*#* Unzip archive:&amp;lt;br/&amp;gt;&amp;lt;pre&amp;gt;unzip $SourceMain/instsetoo_native/wntmsci12.pro/Apache_OpenOffice/msi/install/en-US/Apache_OpenOffice_4.1.4_Win_x86_install-arc_en-US.zip&amp;lt;/pre&amp;gt;&lt;br /&gt;
*#* Start AOO by running:&amp;lt;br/&amp;gt;&amp;lt;pre&amp;gt;./Apache_OpenOffice_4.1.4_Win_x86_install-arc_en-US/program/soffice.exe&amp;lt;/pre&amp;gt;&lt;br /&gt;
::: (Change the version number in the file name to match the version you built)&lt;br /&gt;
&lt;br /&gt;
== Build with Cygwin 64-bit ==&lt;br /&gt;
&lt;br /&gt;
Note: Building AOO with Cygwin 64-bit will only work with latest trunk, it will &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; work with any 4.1.x branch!&lt;br /&gt;
&lt;br /&gt;
* Install Cygwin, &amp;#039;&amp;#039;&amp;#039;64-bit version&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
** Browse to [https://www.cygwin.com https://www.cygwin.com] and click on the setup-x86_64.exe link to download the most recent 64-bit version (the most recent Cygwin DLL at the moment is 3.0.7) or use [https://www.cygwin.com/setup-x86_64.exe this direct link]&lt;br /&gt;
** Run the installer and click through the questions&lt;br /&gt;
** On the &amp;quot;Choose A Download Site&amp;quot; select a nearby download server&lt;br /&gt;
** Expect a &amp;quot;Setup Alert&amp;quot; dialog box on the first cygwin install on the computer: click OK to close it&lt;br /&gt;
** On the page that allows you to select additional packages select: &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt; From the &amp;#039;&amp;#039;&amp;#039;Archive&amp;#039;&amp;#039;&amp;#039; category: &amp;lt;pre&amp;gt;zip, unzip&amp;lt;/pre&amp;gt; From the &amp;#039;&amp;#039;&amp;#039;Devel&amp;#039;&amp;#039;&amp;#039; category: &amp;lt;pre&amp;gt;autoconf, gperf, gcc-g++, bison, flex, patch, subversion, make&amp;lt;/pre&amp;gt; From the &amp;#039;&amp;#039;&amp;#039;Net&amp;#039;&amp;#039;&amp;#039; category: &amp;lt;pre&amp;gt;rsync&amp;lt;/pre&amp;gt;From the &amp;#039;&amp;#039;&amp;#039;Perl&amp;#039;&amp;#039;&amp;#039; category: &amp;lt;pre&amp;gt;perl, perl-XML-SAX-Expat, perl-Archive-Zip, perl-LWP-Protocol-https, perl-XML-parser, perl-libwww-perl, perl-Digest-SHA, perl-Net-SSLeay&amp;lt;/pre&amp;gt;As a shortcut you can install everything needed with one command:&amp;lt;pre&amp;gt;setup-x86_64.exe -P zip -P unzip -P autoconf -P gperf -P gcc-g++ -P bison -P flex -P patch -P subversion -P make -P rsync -P perl -P perl-XML-SAX-Expat -P perl-Archive-Zip -P perl-LWP-Protocol-https -P perl-XML-parser -P perl-libwww-perl -P perl-Digest-SHA -P perl-Net-SSLeay&amp;lt;/pre&amp;gt;If you will use git, you need in addition from the &amp;#039;&amp;#039;&amp;#039;Devel&amp;#039;&amp;#039;&amp;#039; category the packages:&amp;lt;pre&amp;gt;git, git-svn&amp;lt;/pre&amp;gt;&lt;br /&gt;
** Click Next to finish package selection.&lt;br /&gt;
** Click Next to resolve dependencies.&lt;br /&gt;
** After installation is finished click the Finish button to close the dialog.&lt;br /&gt;
&lt;br /&gt;
* Start Cygwin bash in a terminal and follow all the steps for 32-bit Cygwin up to and including &amp;#039;./configure&amp;#039; with relative parameters&lt;br /&gt;
** Finish configuration and download missing external source tarballs and extensions&amp;lt;pre&amp;gt;./bootstrap&amp;lt;/pre&amp;gt;&lt;br /&gt;
** Include the configured environment&amp;lt;pre&amp;gt;source winenv.set.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
** Build&amp;lt;pre&amp;gt;cd instsetoo_native/&amp;amp;#10;build --all&amp;lt;/pre&amp;gt;Depending on your computer this will take one or more hours to finish. You may want to experiment with the -P options for multi process builds to reduce the build time. &amp;lt;pre&amp;gt;build --all -P&amp;lt;m&amp;gt; -- -P&amp;lt;n&amp;gt;&amp;lt;/pre&amp;gt; tells build to use &amp;lt;code&amp;gt;m&amp;lt;/code&amp;gt; processes (build up to &amp;lt;code&amp;gt;m&amp;lt;/code&amp;gt; modules in parallel) and &amp;lt;code&amp;gt;n&amp;lt;/code&amp;gt; threads for each module.&lt;br /&gt;
&lt;br /&gt;
=Mac OS X=&lt;br /&gt;
In order to build OpenOffice on Mac OS X see [[Documentation/Building Guide AOO/Building on MacOsX|Building on MacOSX]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:Porting]]&lt;br /&gt;
[[Category:Build_System]]&lt;/div&gt;</summary>
		<author><name>Mechtilde</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Documentation/Building_Guide_AOO/Step_by_step&amp;diff=245576</id>
		<title>Documentation/Building Guide AOO/Step by step</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Documentation/Building_Guide_AOO/Step_by_step&amp;diff=245576"/>
		<updated>2019-08-04T17:45:29Z</updated>

		<summary type="html">&lt;p&gt;Mechtilde: /* Ubuntu 12.04 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:Step by step building guides for different platforms}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
This page is intended as a collection of simple step-by-step recipes to build Apache OpenOffice from source code.  A more thorough explanation of what the individual steps do and why they are necessary can be found in the [[Documentation/Building_Guide_AOO|building guide]].&lt;br /&gt;
&lt;br /&gt;
=Ubuntu 16.04=&lt;br /&gt;
 {{DraftPage|EN}}&lt;br /&gt;
The process to build {{AOo|EN}} is currently undergoing experimentation. As steps are firmed up they will be added here.&lt;br /&gt;
&lt;br /&gt;
* Updated Install requirements. OpenJDK 6 or 7 is not available for Ubuntu 16.04:&lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install openjdk-8-jdk fakeroot&lt;br /&gt;
&lt;br /&gt;
Draft: With Version 4.2 we start to update the build enviroment to Ubuntu 18.04 and Debian 9. You can follow [https://wiki.openoffice.org/wiki/User:Mechtilde/AOOBauen AOOBauen]&lt;br /&gt;
&lt;br /&gt;
=Ubuntu 14.04=&lt;br /&gt;
&lt;br /&gt;
Ubuntu 14.04 is our secondary build platform for our complimentary community Linux 32 and 64 bit platforms, CentOS7 being our primary.&lt;br /&gt;
The basic building steps under Ubuntu 12.04 (see below) are to be followed in Ubuntu 14.04 as well; however, there are some minor build issues that any developer, using this OS, needs to be aware of, if he gets stuck while building. The following is the list of issues, with their fixes, that a developer may face with:&lt;br /&gt;
&lt;br /&gt;
* Issue 125475; see the link https://issues.apache.org/ooo/show_bug.cgi?id=125475 for detailed information. This happens if you explicitly upgraded your GCC and related tools to version 4.9; it will not appear if you use GCC 4.8.x.&lt;br /&gt;
&lt;br /&gt;
As the BZ says, it is because of buggy toolchain g++4.9. So for now in Ubuntu Linux 14.04, build the source using g++4.8.2, gcc4.8.2; these are the default compilers in Ubuntu Linux 14.04 anyway; please check it using the following commands:&lt;br /&gt;
&lt;br /&gt;
  g++ -v&lt;br /&gt;
  gcc -v&lt;br /&gt;
&lt;br /&gt;
if not, you&amp;#039;ve to download them.&lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install g++-4.8&lt;br /&gt;
  cd /usr/bin&lt;br /&gt;
  rm gcc&lt;br /&gt;
  rm g++&lt;br /&gt;
  ln -s gcc-4.8 gcc&lt;br /&gt;
  ln -s g++-4.8 g++&lt;br /&gt;
&lt;br /&gt;
* Updated Install requirements. In addition to those listed for Ubuntu 12.04:&lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install openjdk-7-jdk fakeroot&lt;br /&gt;
&lt;br /&gt;
* Failed to find ./solver/420/unxlngx6.pro/lib/x86_64-linux-gnu/libstdc++.so.6.0.20 error.&lt;br /&gt;
&lt;br /&gt;
  cp /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20 ./solver/420/unxlngx6.pro/lib/&lt;br /&gt;
  rm ./solver/420/unxlngx6.pro/lib/libstdc++.so.6&lt;br /&gt;
  ln -s ./solver/420/unxlngx6.pro/lib/libstdc++.so.6.0.20 ./solver/420/unxlngx6.pro/lib/libstdc++.so.6&lt;br /&gt;
&lt;br /&gt;
* No such file or directory - connectivity/virtualdbtools.hxx while building svx.&lt;br /&gt;
&lt;br /&gt;
if you get an error like this, then that means connectivity is not built properly. Build connectivity using build --all:connectivity and this error will go away.&lt;br /&gt;
&lt;br /&gt;
==Build and Packaging tools==&lt;br /&gt;
&lt;br /&gt;
Download, configure, build and install dmake and epm&lt;br /&gt;
 $ wget https://github.com/jimjag/dmake/archive/dmake-4.12.3.tar.gz&lt;br /&gt;
 $ tar -xzf dmake-4.12.3.tar.gz&lt;br /&gt;
 $ cd dmake-dmake-4.12.3&lt;br /&gt;
 $ ./configure --prefix=/usr/local&lt;br /&gt;
 $ sudo make install&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 $ wget https://github.com/jimjag/epm/archive/epm-4.4.2.tar.gz&lt;br /&gt;
 $ tar -xzf epm-4.4.2.tar.gz&lt;br /&gt;
 $ cd epm-epm-4.4.2&lt;br /&gt;
 $ ./configure --prefix=/usr/local --enable-aoo&lt;br /&gt;
 $ sudo make install&lt;br /&gt;
&lt;br /&gt;
=Ubuntu 12.04=&lt;br /&gt;
&lt;br /&gt;
* Setup VirtualBox with Ubuntu 12.04 64 bit on Windows7 64bit host.  A native installation is of course fine, too.&lt;br /&gt;
* Let updater update ca. 380 packages. Restart.&lt;br /&gt;
* Get the source.  You can start with the source release or by checking out from SVN:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;prettytable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Source release&lt;br /&gt;
! SVN&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| Build from source release if you want to build OpenOffice once but don&amp;#039;t want to do any development.&lt;br /&gt;
| Build from SVN if you want to development work with OpenOffice.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &lt;br /&gt;
&lt;br /&gt;
* Download AOO 4.1.3 source tarball from&lt;br /&gt;
https://www.apache.org/dyn/closer.lua/openoffice/4.1.3/source/apache-openoffice-4.1.3-r1761381-src.tar.bz2&lt;br /&gt;
&lt;br /&gt;
* Optional: Download signature from&lt;br /&gt;
https://archive.apache.org/dist/openoffice/4.1.3/source/apache-openoffice-4.1.3-r1761381-src.tar.bz2.asc&lt;br /&gt;
&lt;br /&gt;
and verify the source tarball with&lt;br /&gt;
&lt;br /&gt;
 gpg --verify apache-openoffice-4.1.3-r1761381-src.tar.bz2.asc \&lt;br /&gt;
              apache-openoffice-4.1.3-r1761381-src.tar.bz2&lt;br /&gt;
&lt;br /&gt;
Note that you have to have the keys already imported to your key chain. The keys can be found on the download page:&lt;br /&gt;
&lt;br /&gt;
https://www.apache.org/dist/openoffice/KEYS&lt;br /&gt;
&lt;br /&gt;
* Unpack source:&lt;br /&gt;
  cd /tmp&lt;br /&gt;
  tar -xjf ~/Downloads/apache-openoffice-4.1.3-r1761381-src.tar.bz2&lt;br /&gt;
  cd aoo-4.1.3/main&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
&lt;br /&gt;
* Start with creating a parent directory for the source code.  Don&amp;#039;t use &amp;lt;code&amp;gt;/tmp&amp;lt;/code&amp;gt; because that is deleted on every boot:&lt;br /&gt;
&lt;br /&gt;
  sudo mkdir /source&lt;br /&gt;
  sudo chown &amp;lt;your-user-name&amp;gt; /source&lt;br /&gt;
  cd /source&lt;br /&gt;
&lt;br /&gt;
* Install subversion and checkout the source:&lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install subversion&lt;br /&gt;
  svn co https://svn.apache.org/repos/asf/openoffice/trunk aoo-trunk&lt;br /&gt;
  cd aoo-trunk/main&lt;br /&gt;
&lt;br /&gt;
* Install git and checkout the source (since 2019-08-03:&lt;br /&gt;
&lt;br /&gt;
  sudo apt install git&lt;br /&gt;
  git clone https://gitbox.apache.org/repos/asf/openoffice.git aoo&lt;br /&gt;
  cd aoo/main&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* Install requirements (this will also install packages that are not listed):&lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install g++ gcc bison flex libarchive-zip-perl libcups2-dev \&lt;br /&gt;
       libpam0g-dev gperf libfreetype6-dev libxaw7-dev libfontconfig1-dev \&lt;br /&gt;
       libxrandr-dev patch libgconf2-dev libgnomevfs2-dev ant libgtk2.0-dev \&lt;br /&gt;
       junit junit4 libidl-dev liborbit2-dev openjdk-6-jdk libwww-perl \&lt;br /&gt;
       libxml-parser-perl autoconf libssl-dev libpam-dev libgstreamer\*&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Run autoconf to generate configure script:&lt;br /&gt;
&lt;br /&gt;
  autoconf&lt;br /&gt;
&lt;br /&gt;
* Configure (see the building guide section on [[Documentation/Building_Guide_AOO#Configuration_and_bootstrapping|configuration]] for further options):&lt;br /&gt;
&lt;br /&gt;
  ./configure \&lt;br /&gt;
      --with-dmake-url=https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2 \&lt;br /&gt;
      --with-epm-url=https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz \&lt;br /&gt;
      --disable-odk \&lt;br /&gt;
      --disable-binfilter&lt;br /&gt;
&lt;br /&gt;
* Finish configuration and download missing tarballs and extensions:&lt;br /&gt;
&lt;br /&gt;
  ./bootstrap&lt;br /&gt;
&lt;br /&gt;
* Include the configured environment:&lt;br /&gt;
&lt;br /&gt;
  source LinuxX86-64Env.Set.sh&lt;br /&gt;
&lt;br /&gt;
* Build:&lt;br /&gt;
&lt;br /&gt;
  cd instsetoo_native/&lt;br /&gt;
  build --all&lt;br /&gt;
&lt;br /&gt;
This may take a while to complete.  Several hours are not uncommon.  To speed things up you may want to run &amp;#039;build&amp;#039; like this&lt;br /&gt;
&lt;br /&gt;
  build --all -P&amp;lt;n&amp;gt; -- -P&amp;lt;n&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to start a parallel build.  Replace &amp;lt;n&amp;gt; with the number of CPU cores. &lt;br /&gt;
&lt;br /&gt;
* Install:&lt;br /&gt;
&lt;br /&gt;
  sudo dpkg -i unxlngx6.pro/Apache_OpenOffice/deb/install/en-US/DEBS/*.deb&lt;br /&gt;
  sudo dpkg -i unxlngx6.pro/Apache_OpenOffice/deb/install/en-US/DEBS/desktop-integration/openoffice4.2-debian-menus_4.2-9800_all.deb&lt;br /&gt;
&lt;br /&gt;
* Start Apache OpenOffice:&lt;br /&gt;
&lt;br /&gt;
  /opt/openoffice4/program/soffice&lt;br /&gt;
&lt;br /&gt;
=CentOS 5 for AOO 4.1.x =&lt;br /&gt;
&lt;br /&gt;
CentOS 5 is our reference environment for build through the 4.1.x series. As it is a very old environment, it is &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; recommended to use it for your first build. But is important to document how to build on CentOS 5 since this is where the release through 4.1.x are built.&lt;br /&gt;
&lt;br /&gt;
==Setup a VM==&lt;br /&gt;
&lt;br /&gt;
KVM given here as example.&lt;br /&gt;
&lt;br /&gt;
  $ wget -O /tmp/CentOS-5.iso http://mi.mirror.garr.it/mirrors/CentOS/5.11/isos/x86_64/CentOS-5.11-x86_64-netinstall.iso&lt;br /&gt;
  $ fallocate -l 61440M /vms/centos5_64.img&lt;br /&gt;
  $ sudo virt-install --boot cdrom --name centos5_64 --memory 8192 -f /vms/centos5_64.img --cdrom /tmp/CentOS-5.iso&lt;br /&gt;
&lt;br /&gt;
* Install the system; installation will start with the above command and use the following values when asked:&lt;br /&gt;
** Installation method: HTTP with website mirror.centos.org and CentOS directory /centos/5/os/x86_64&lt;br /&gt;
** Partitioning: 60000M for /, rest swap (you will need ~55 GBytes for a full build with all languages and langpacks)&lt;br /&gt;
** Setup Base system only&lt;br /&gt;
* Reboot the VM and configure it&lt;br /&gt;
** You&amp;#039;ll probably want a non-root user with sudo access and you may want to disable some services.&lt;br /&gt;
** &amp;lt;code&amp;gt;$ sudo yum update -y&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;$ sudo reboot&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Our community builds are actually done on a VMware Fusion VM. Build times are mostly sensitive to the number of CPUs and allocated RAM; our setup is a 6 core VM with 16GB of memory.&lt;br /&gt;
&lt;br /&gt;
==Setup repositories and packages==&lt;br /&gt;
&lt;br /&gt;
EPEL is needed for dpkg (to build DEBs):&lt;br /&gt;
&lt;br /&gt;
  $ wget http://archives.fedoraproject.org/pub/archive/epel/5/i386/epel-release-5-4.noarch.rpm&lt;br /&gt;
  $ sudo rpm -ivh epel-release-5-4.noarch.rpm&lt;br /&gt;
  $ sudo yum update -y&lt;br /&gt;
&lt;br /&gt;
Now you can install all dependencies:&lt;br /&gt;
&lt;br /&gt;
  $ sudo yum install \&lt;br /&gt;
        gcc \&lt;br /&gt;
        expat-devel \&lt;br /&gt;
        openssl-devel \&lt;br /&gt;
        autoconf \&lt;br /&gt;
        gcc-c++ \&lt;br /&gt;
        cups-devel \&lt;br /&gt;
        pam-devel \&lt;br /&gt;
        java-1.6.0-openjdk-devel \&lt;br /&gt;
        rpm-build \&lt;br /&gt;
        dpkg \&lt;br /&gt;
        gperf \&lt;br /&gt;
        freetype-devel \&lt;br /&gt;
        libX11-devel \&lt;br /&gt;
        libXt-devel \&lt;br /&gt;
        fontconfig-devel \&lt;br /&gt;
        libXrandr-devel \&lt;br /&gt;
        bison \&lt;br /&gt;
        flex \&lt;br /&gt;
        GConf2-devel \&lt;br /&gt;
        gnome-vfs2-devel \&lt;br /&gt;
        gtk2-devel \&lt;br /&gt;
        gstreamer-devel \&lt;br /&gt;
        gstreamer-plugins-base-devel \&lt;br /&gt;
        mesa-libGLU-devel \&lt;br /&gt;
        subversion \&lt;br /&gt;
        ccache&lt;br /&gt;
&lt;br /&gt;
Configure ccache:&lt;br /&gt;
&lt;br /&gt;
  $ ccache -M 2G&lt;br /&gt;
&lt;br /&gt;
This leaves out Ant and Perl.&lt;br /&gt;
&lt;br /&gt;
==Download Ant==&lt;br /&gt;
&lt;br /&gt;
Ant 1.7.1 is now available in the CentOS repositories:&lt;br /&gt;
&lt;br /&gt;
  $ sudo yum install ant17 ant17-apache-regexp&lt;br /&gt;
&lt;br /&gt;
However, this will still cause configure to fail, so a manual download is needed. Ant will live in ~/ant and we need to download it manually.&lt;br /&gt;
&lt;br /&gt;
 $ cd&lt;br /&gt;
 $ wget http://mirrors.nxnethosting.com/apache//ant/binaries/apache-ant-1.9.7-bin.tar.bz2&lt;br /&gt;
 $ tar xvf apache-ant-1.9.7-bin.tar.bz2&lt;br /&gt;
 $ ln -s apache-ant-1.9.7 ant&lt;br /&gt;
&lt;br /&gt;
==Install Perl modules==&lt;br /&gt;
&lt;br /&gt;
We can no longer use the system Perl and standard packages on CentOS 5, which are too old, so we will need to build newer versions.&lt;br /&gt;
&lt;br /&gt;
  $ cd /usr/local/src&lt;br /&gt;
  $ wget https://www.cpan.org/src/5.0/perl-5.14.4.tar.gz&lt;br /&gt;
  $ tar xvf perl-5.14.4.tar.gz&lt;br /&gt;
  $ cd perl-5.14.4&lt;br /&gt;
  $ ./configure.gnu ; make&lt;br /&gt;
  $ sudo make install&lt;br /&gt;
  $ sudo /usr/local/bin/perl -MCPAN -e shell&lt;br /&gt;
   cpan[1]&amp;gt; install Archive::Zip XML::Parser LWP::UserAgent Digest::SHA Digest::MD5 LWP::Protocol::https&lt;br /&gt;
   cpan[1]&amp;gt; exit&lt;br /&gt;
  $&lt;br /&gt;
&lt;br /&gt;
Make sure that /usr/local/bin/perl is in your $PATH and is used before any other versions.&lt;br /&gt;
&lt;br /&gt;
==Configure==&lt;br /&gt;
&lt;br /&gt;
See http://svn.apache.org/viewvc/openoffice/devtools/build-scripts/ for the configure options for a release build.&lt;br /&gt;
&lt;br /&gt;
=CentOS 7 for AOO 4.2.x and later=&lt;br /&gt;
&lt;br /&gt;
Although CentOS 5 was our reference environment for build through the 4.1.x series, as it is a very old environment, it is not a viable system to use for building AOO 4.2.x and later, mainly due to some dependencies no longer being available for CentOS5 (such as &amp;#039;&amp;#039;gstreamer-1.x&amp;#039;&amp;#039;). Not to say that you can&amp;#039;t do so, but we have switched to CentOS 7 for our reference build. Other than that, the actual setups and builds for both OSs are strikingly similar.&lt;br /&gt;
&lt;br /&gt;
==Setup a VM==&lt;br /&gt;
&lt;br /&gt;
We have had good results installing CentOS 7 under both VirtualBox and VMware. Our community builds are actually done on a VMware Fusion VM. Build times are mostly sensitive to the number of CPUs and allocated RAM; our setup is a 6 core VM with 16GB of memory. We recommend CentOS 7.5&lt;br /&gt;
&lt;br /&gt;
==Setup repositories and packages==&lt;br /&gt;
&lt;br /&gt;
EPEL is needed for dpkg (to build DEBs) and for ccache (to speed up repeated builds, optional but recommended):&lt;br /&gt;
&lt;br /&gt;
  $ sudo yum install epel-release&lt;br /&gt;
  $ sudo yum update -y&lt;br /&gt;
&lt;br /&gt;
Now you can install all dependencies:&lt;br /&gt;
&lt;br /&gt;
  $ sudo yum install \&lt;br /&gt;
        gcc \&lt;br /&gt;
        expat-devel \&lt;br /&gt;
        openssl-devel \&lt;br /&gt;
        autoconf \&lt;br /&gt;
        gcc-c++ \&lt;br /&gt;
        cups-devel \&lt;br /&gt;
        pam-devel \&lt;br /&gt;
        java-1.7.0-openjdk-devel \&lt;br /&gt;
        rpm-build \&lt;br /&gt;
        dpkg \&lt;br /&gt;
        fakeroot \&lt;br /&gt;
        gperf \&lt;br /&gt;
        freetype-devel \&lt;br /&gt;
        libX11-devel \&lt;br /&gt;
        libXt-devel \&lt;br /&gt;
        fontconfig-devel \&lt;br /&gt;
        libXrandr-devel \&lt;br /&gt;
        bison \&lt;br /&gt;
        flex \&lt;br /&gt;
        GConf2-devel \&lt;br /&gt;
        gnome-vfs2-devel \&lt;br /&gt;
        gtk2-devel \&lt;br /&gt;
        gstreamer-devel \&lt;br /&gt;
        gstreamer-plugins-base-devel \&lt;br /&gt;
        gstreamer1-devel \&lt;br /&gt;
        gstreamer1-plugins-base-devel \&lt;br /&gt;
        mesa-libGLU-devel \&lt;br /&gt;
        wget \&lt;br /&gt;
        subversion \&lt;br /&gt;
        ccache \&lt;br /&gt;
        glib2-devel \&lt;br /&gt;
        dbus-glib-devel \&lt;br /&gt;
        perl \&lt;br /&gt;
        ORBit2-devel&lt;br /&gt;
&lt;br /&gt;
Configure ccache to use at least 2 GBytes:&lt;br /&gt;
&lt;br /&gt;
  $ ccache -M 2G&lt;br /&gt;
&lt;br /&gt;
This leaves out Ant and Perl.&lt;br /&gt;
&lt;br /&gt;
==Download Ant==&lt;br /&gt;
&lt;br /&gt;
The version of Ant installed via yum can cause configure to fail, so a manual download is needed. Ant will live in ~/ant and we need to download it manually.&lt;br /&gt;
&lt;br /&gt;
 $ cd&lt;br /&gt;
 $ wget http://mirrors.nxnethosting.com/apache//ant/binaries/apache-ant-1.9.13-bin.tar.bz2&lt;br /&gt;
 $ tar xvf apache-ant-1.9.13-bin.tar.bz2&lt;br /&gt;
 $ ln -s apache-ant-1.9.13 ant&lt;br /&gt;
&lt;br /&gt;
==Install Perl modules==&lt;br /&gt;
&lt;br /&gt;
We can use the system Perl and standard packages on CentOS 6, see https://bz.apache.org/ooo/show_bug.cgi?id=127120&lt;br /&gt;
&lt;br /&gt;
  $ sudo yum install \&lt;br /&gt;
        cpan \&lt;br /&gt;
        perl-libwww-perl \&lt;br /&gt;
        perl-Archive-Zip \&lt;br /&gt;
        perl-Digest-SHA \&lt;br /&gt;
        perl-XML-Parser \&lt;br /&gt;
        perl-Crypt-SSLeay \&lt;br /&gt;
        perl-Env \&lt;br /&gt;
        perl-LWP-Protocol-https&lt;br /&gt;
&lt;br /&gt;
  $ sudo cpan File::Path&lt;br /&gt;
&lt;br /&gt;
==Build and Packaging tools==&lt;br /&gt;
&lt;br /&gt;
Download, configure, build and install dmake and epm&lt;br /&gt;
 $ wget https://github.com/jimjag/dmake/archive/dmake-4.12.3.tar.gz&lt;br /&gt;
 $ cd dmake-dmake-4,12,3&lt;br /&gt;
 $ ./configure --prefix=/usr/local; make install&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 $ wget https://github.com/jimjag/epm/archive/epm-4.4.2.tar.gz&lt;br /&gt;
 $ cd epm-epm-4.4.2&lt;br /&gt;
 $ ./configure --prefix=/usr/local --enable-aoo; make install&lt;br /&gt;
&lt;br /&gt;
==32 bit hints==&lt;br /&gt;
&lt;br /&gt;
There is not a EPEL release for CentOS 7 32bit, so you&amp;#039;ll need to download, build and install dpkg and GNUtar directly:&lt;br /&gt;
&lt;br /&gt;
 $ wget ftp://ftp.de.debian.org//debian/pool/main/d/dpkg/dpkg_1.19.3.tar.xz&lt;br /&gt;
 $ wget http://ftp.gnu.org/gnu/tar/tar-1.30.tar.gz&lt;br /&gt;
&lt;br /&gt;
==Configure==&lt;br /&gt;
&lt;br /&gt;
See https://svn.apache.org/viewvc/openoffice/devtools/build-scripts/ for the configure options for a release build.&lt;br /&gt;
&lt;br /&gt;
= Fedora 21 =&lt;br /&gt;
&lt;br /&gt;
== Autoconf ==&lt;br /&gt;
&lt;br /&gt;
=== Work directory ===&lt;br /&gt;
&amp;lt;code&amp;gt;/share/linux2/aoo/trunk/main/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You need to create the &amp;quot;configure&amp;quot; command in order to start:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ autoconf&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configure the build options ==&lt;br /&gt;
&lt;br /&gt;
You need to configure the build options to tell the build command what to use or to ignore:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ ./configure \ &amp;lt;br/&amp;gt;&lt;br /&gt;
--with-dmake-url=https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2 \ &amp;lt;br/&amp;gt;&lt;br /&gt;
--with-epm-url=https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz \ &amp;lt;br/&amp;gt;&lt;br /&gt;
--disable-odk \ &amp;lt;br/&amp;gt;&lt;br /&gt;
--disable-gconf \ &amp;lt;br/&amp;gt;&lt;br /&gt;
--disable-gnome-vfs \ &amp;lt;br/&amp;gt;&lt;br /&gt;
--with-package-format=&amp;quot;installed&amp;quot;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Bootstrap the build ==&lt;br /&gt;
&lt;br /&gt;
You need to prepare the build environment. This will download missing source code tar balls of external libraries, download missing external dictionary extensions and pre-build needed tools:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ ./bootstrap&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Source the environment ==&lt;br /&gt;
&lt;br /&gt;
You need to setup environment variableas and other things in the terminal window where the build should run.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ source LinuxX86-64Env.Set.sh&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Important&amp;#039;&amp;#039;&amp;#039; &amp;lt;br /&amp;gt;&lt;br /&gt;
It depends on the respective terminal window/tab. The build will not or unpredictable run in a different one.&lt;br /&gt;
&lt;br /&gt;
== Start building ==&lt;br /&gt;
&lt;br /&gt;
Work directory&lt;br /&gt;
&amp;lt;code&amp;gt;/share/linux2/aoo/trunk/main/instsetoo_native&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following command will use all available CPU cores to build most as possible in parallel:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ build --all -P8 -- -P8&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following command build and redirect all output to stdout and stderr into a single log file. Perfect for forwarding to someone else in case of build problems:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ build &amp;lt;options&amp;gt; &amp;gt; build_error_log_yyyy.mm.dd_hh.mm.txt 2&amp;gt;&amp;amp;1&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following can be used when you want to know how many hours the build took to complete:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ time build &amp;lt;options&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following is to clear things up when a project didn&amp;#039;t build successfully before starting again:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ build --prepare --from &amp;lt;prj_name&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When the same error occurs exactly again, then maybe the &amp;quot;--prepare&amp;quot; option doesn&amp;#039;t work for projects that were changed to gbuild. Then the respective solver directory needs to be deleted manually. Either from the following directory or in another sub-dir. Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ rm -rf main/solver/420/*.pro/workdir/CxxObject/&amp;lt;prj_name&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Cleanup the build tree ==&lt;br /&gt;
&lt;br /&gt;
Work directory&lt;br /&gt;
&amp;lt;code&amp;gt;/share/linux2/aoo/trunk/main/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following command needs to be executed to cleanup all build artefacts to be able to start again a clean build:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ dmake clean&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Important&amp;#039;&amp;#039;&amp;#039; &amp;lt;br /&amp;gt;&lt;br /&gt;
This will delete the &amp;quot;dmake&amp;quot; command itself. Therefore it&amp;#039;s needed to run configure, bootstrap and source again (see above).&lt;br /&gt;
&lt;br /&gt;
== Build breaker ==&lt;br /&gt;
&lt;br /&gt;
1. Module &amp;quot;svx&amp;quot; &amp;lt;br /&amp;gt;&lt;br /&gt;
2. Module &amp;quot;dbaccess&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The file &amp;lt;code&amp;gt;main/svx/source/fmcomp/fmgridif.cxx&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;main/dbaccess/source/ui/uno/ColumnControl.cxx&amp;lt;/code&amp;gt; should be compiled with enabled compiler optimization. However, this doesn&amp;#039;t work on the Intel x86-64 platform due to this GCC 4.9.3 bug (should be fixed with 5.0):&lt;br /&gt;
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58678&lt;br /&gt;
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65009&lt;br /&gt;
&lt;br /&gt;
The workaround is to disable the optimization for both files in the respective makefiles &amp;lt;code&amp;gt;main/svx/Library_svxcore.mk&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;main/dbaccess/source/ui/uno/makefile.mk&amp;lt;/code&amp;gt;. The following short patch should work:&lt;br /&gt;
&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. Makefile &amp;quot;main/svx/Library_svxcore.mk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;patch start&amp;gt; &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
--- Library_svxcore.mk.orig    2016-09-04 15:32:07.305410023 +0200 &amp;lt;br /&amp;gt;&lt;br /&gt;
+++ Library_svxcore.mk.new    2016-09-05 20:16:33.411649496 +0200 &amp;lt;br /&amp;gt;&lt;br /&gt;
@@ -121,7 +121,6 @@ &amp;lt;br /&amp;gt;&lt;br /&gt;
svx/source/engine3d/viewpt3d2 \ &amp;lt;br /&amp;gt;&lt;br /&gt;
svx/source/fmcomp/dbaexchange \ &amp;lt;br /&amp;gt;&lt;br /&gt;
svx/source/fmcomp/fmgridcl \ &amp;lt;br /&amp;gt;&lt;br /&gt;
- svx/source/fmcomp/fmgridif \ &amp;lt;br /&amp;gt;&lt;br /&gt;
svx/source/fmcomp/gridcell \ &amp;lt;br /&amp;gt;&lt;br /&gt;
svx/source/fmcomp/gridcols \ &amp;lt;br /&amp;gt;&lt;br /&gt;
svx/source/fmcomp/gridctrl \ &amp;lt;br /&amp;gt;&lt;br /&gt;
@@ -452,6 +451,23 @@ &amp;lt;br /&amp;gt;&lt;br /&gt;
)) &amp;lt;br /&amp;gt;&lt;br /&gt;
endif &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
+# the following source file can&amp;#039;t be compiled with &amp;quot;-Os&amp;quot; by gcc 4.9 as it &amp;lt;br /&amp;gt;&lt;br /&gt;
+# because of a bug in devirtualization optimization (#i125475#): &amp;lt;br /&amp;gt;&lt;br /&gt;
+#   &amp;lt;https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58678&amp;gt; &amp;lt;br /&amp;gt;&lt;br /&gt;
+#   &amp;lt;https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65009&amp;gt; &amp;lt;br /&amp;gt;&lt;br /&gt;
+# Compiling with &amp;quot;-O2&amp;quot; or &amp;lt;br /&amp;gt;&lt;br /&gt;
+# &amp;quot;-Os -fno-devirtualize -fno-devirtualize-speculatively&amp;quot; is sufficient to fix. &amp;lt;br /&amp;gt;&lt;br /&gt;
+ifeq ($(COM),GCC) &amp;lt;br /&amp;gt;&lt;br /&gt;
+$(eval $(call gb_Library_add_cxxobjects,svxcore,\ &amp;lt;br /&amp;gt;&lt;br /&gt;
+    svx/source/fmcomp/fmgridif \ &amp;lt;br /&amp;gt;&lt;br /&gt;
+    , $(gb_COMPILERNOOPTFLAGS) $(gb_LinkTarget_EXCEPTIONFLAGS) \ &amp;lt;br /&amp;gt;&lt;br /&gt;
+)) &amp;lt;br /&amp;gt;&lt;br /&gt;
+else &amp;lt;br /&amp;gt;&lt;br /&gt;
+$(eval $(call gb_Library_add_exception_objects,svxcore,\ &amp;lt;br /&amp;gt;&lt;br /&gt;
+    svx/source/fmcomp/fmgridif \ &amp;lt;br /&amp;gt;&lt;br /&gt;
+)) &amp;lt;br /&amp;gt;&lt;br /&gt;
+endif &amp;lt;br /&amp;gt;&lt;br /&gt;
+ &amp;lt;br /&amp;gt;&lt;br /&gt;
$(eval $(call gb_SdiTarget_SdiTarget,svx/sdi/svxslots,svx/sdi/svx)) &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
$(eval $(call gb_SdiTarget_set_include,svx/sdi/svxslots,\&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/patch end&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Makefile &amp;quot;main/dbaccess/Library_dbui.mk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;patch start&amp;gt;&lt;br /&gt;
&lt;br /&gt;
--- Library_dbui.mk.orig    2016-09-04 15:28:55.200594932 +0200 &amp;lt;br /&amp;gt;&lt;br /&gt;
+++ Library_dbui.mk.new    2016-09-06 00:34:05.241638508 +0200 &amp;lt;br /&amp;gt;&lt;br /&gt;
@@ -260,7 +260,6 @@ &amp;lt;br /&amp;gt;&lt;br /&gt;
dbaccess/source/ui/tabledesign/TableRowExchange \ &amp;lt;br /&amp;gt;&lt;br /&gt;
dbaccess/source/ui/tabledesign/TableUndo \ &amp;lt;br /&amp;gt;&lt;br /&gt;
dbaccess/source/ui/uno/AdvancedSettingsDlg \ &amp;lt;br /&amp;gt;&lt;br /&gt;
- dbaccess/source/ui/uno/ColumnControl \ &amp;lt;br /&amp;gt;&lt;br /&gt;
dbaccess/source/ui/uno/ColumnModel \ &amp;lt;br /&amp;gt;&lt;br /&gt;
dbaccess/source/ui/uno/ColumnPeer \ &amp;lt;br /&amp;gt;&lt;br /&gt;
dbaccess/source/ui/uno/DBTypeWizDlg \ &amp;lt;br /&amp;gt;&lt;br /&gt;
@@ -313,4 +312,21 @@ &amp;lt;br /&amp;gt;&lt;br /&gt;
)) &amp;lt;br /&amp;gt;&lt;br /&gt;
endif &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
+# the following source file can&amp;#039;t be compiled with &amp;quot;-Os&amp;quot; by gcc 4.9 as it &amp;lt;br /&amp;gt;&lt;br /&gt;
+# because of a bug in devirtualization optimization (#i125475#): &amp;lt;br /&amp;gt;&lt;br /&gt;
+#   &amp;lt;https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58678&amp;gt; &amp;lt;br /&amp;gt;&lt;br /&gt;
+#   &amp;lt;https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65009&amp;gt; &amp;lt;br /&amp;gt;&lt;br /&gt;
+# Compiling with &amp;quot;-O2&amp;quot; or &amp;lt;br /&amp;gt;&lt;br /&gt;
+# &amp;quot;-Os -fno-devirtualize -fno-devirtualize-speculatively&amp;quot; is sufficient to fix. &amp;lt;br /&amp;gt;&lt;br /&gt;
+ifeq ($(COM),GCC) &amp;lt;br /&amp;gt;&lt;br /&gt;
+$(eval $(call gb_Library_add_cxxobjects,dbui,\ &amp;lt;br /&amp;gt;&lt;br /&gt;
+    dbaccess/source/ui/uno/ColumnControl \ &amp;lt;br /&amp;gt;&lt;br /&gt;
+    , $(gb_COMPILERNOOPTFLAGS) $(gb_LinkTarget_EXCEPTIONFLAGS) \ &amp;lt;br /&amp;gt;&lt;br /&gt;
+)) &amp;lt;br /&amp;gt;&lt;br /&gt;
+else &amp;lt;br /&amp;gt;&lt;br /&gt;
+$(eval $(call gb_Library_add_exception_objects,dbui,\ &amp;lt;br /&amp;gt;&lt;br /&gt;
+    dbaccess/source/ui/uno/ColumnControl \ &amp;lt;br /&amp;gt;&lt;br /&gt;
+)) &amp;lt;br /&amp;gt;&lt;br /&gt;
+endif &amp;lt;br /&amp;gt;&lt;br /&gt;
+ &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;# vim: set noet sw=4 ts=4:&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/patch end&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Needed packages ==&lt;br /&gt;
&lt;br /&gt;
The following packages (incl. their dependencies) that need to be available or installed additionally:&lt;br /&gt;
&lt;br /&gt;
* ant&lt;br /&gt;
* autoconf&lt;br /&gt;
* bison&lt;br /&gt;
* cups-devel&lt;br /&gt;
* flex&lt;br /&gt;
* gcc&lt;br /&gt;
* gcc++&lt;br /&gt;
* gperf&lt;br /&gt;
* gtk2&lt;br /&gt;
* gtk2-devel&lt;br /&gt;
* hamcreast&lt;br /&gt;
* java-1.8.0-openjdk&lt;br /&gt;
* java-1.8.0-openjdk-devel&lt;br /&gt;
* junit&lt;br /&gt;
* libtiff&lt;br /&gt;
* libXt-devel&lt;br /&gt;
* make&lt;br /&gt;
* ORBit&lt;br /&gt;
* pam-devel&lt;br /&gt;
* patch&lt;br /&gt;
* perl-CPAN&lt;br /&gt;
* perl-Env&lt;br /&gt;
* rpm&lt;br /&gt;
* rpm-build&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Important&amp;#039;&amp;#039;&amp;#039; &amp;lt;br /&amp;gt;&lt;br /&gt;
Java 1.8 JDK has to be installed due to dependencies for ant, hamcreast and junit.&lt;br /&gt;
&lt;br /&gt;
== Building a release version ==&lt;br /&gt;
&lt;br /&gt;
Additional things that need to done when building a release version out of a SVN branch (e.g., AOO 4.1.3 from &amp;quot;AOO413&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
=== Packages ===&lt;br /&gt;
&lt;br /&gt;
The following packages (incl. their dependencies) that need to be available or installed additionally:&lt;br /&gt;
&lt;br /&gt;
* dpkg&lt;br /&gt;
* dbus-glib-devel&lt;br /&gt;
* GConf2-devel&lt;br /&gt;
* gnome-vfs2&lt;br /&gt;
* gnome-vfs2-devel&lt;br /&gt;
* gstreamer-devel&lt;br /&gt;
* gstreamer-plugins-base-devel&lt;br /&gt;
* mesa-libGLU-devel&lt;br /&gt;
* ORBit2&lt;br /&gt;
* ORBit2-devel&lt;br /&gt;
* perl-Archive-Zip&lt;br /&gt;
* perl-Crypt-SSLeay&lt;br /&gt;
* perl-Digest-MD5&lt;br /&gt;
* perl-Digest-SHA&lt;br /&gt;
* perl-libwww-perl&lt;br /&gt;
* perl-LWP-Protocol-https&lt;br /&gt;
* perl-XML-Parser&lt;br /&gt;
&lt;br /&gt;
=== Configure ===&lt;br /&gt;
&lt;br /&gt;
The configure options for a release build can be found here:&lt;br /&gt;
&lt;br /&gt;
http://svn.apache.org/viewvc/openoffice/devtools/build-scripts/4.1.3/unxlngix6/build_aoo64bit_on_centos5.sh&lt;br /&gt;
&lt;br /&gt;
== Performance results ==&lt;br /&gt;
&lt;br /&gt;
* Intel Core i7-4710HQ 2.5 GHz (8 cores)&lt;br /&gt;
* 16 GB RAM, 256 GB SSD&lt;br /&gt;
* Fedora 21 x86-64 (Kernel 4.1.13-100.fc21.x86_64, glibc 2.20-8)&lt;br /&gt;
&lt;br /&gt;
=== Trunk ===&lt;br /&gt;
&lt;br /&gt;
* Build command:&lt;br /&gt;
  &amp;lt;code&amp;gt;$ build --all -P8 -- -P8&amp;lt;/code&amp;gt;&lt;br /&gt;
* Time for a full build: 01h 05m 41s (as of 2016-10-09&lt;br /&gt;
&lt;br /&gt;
=== AOO413 branch ===&lt;br /&gt;
&lt;br /&gt;
* Build command (with P8 and only &amp;quot;de en-US fr ja pt&amp;quot; as languages):&lt;br /&gt;
  &amp;lt;code&amp;gt;$ build_aoo64bit_on_centos5.sh&amp;lt;/code&amp;gt;&lt;br /&gt;
* Time for a full build: 00h 50m 32s (as of 2016-10-09)&lt;br /&gt;
&lt;br /&gt;
= Fedora 19 and 20 =&lt;br /&gt;
&lt;br /&gt;
== Build Instructions ==&lt;br /&gt;
&lt;br /&gt;
The [[Building|build procedure]] is the same as for other Linux systems.&lt;br /&gt;
&lt;br /&gt;
Required packages:&lt;br /&gt;
&lt;br /&gt;
 $ yum install tcsh perl-Archive-Zip gcc gcc-c++ cups-devel \&lt;br /&gt;
               pam-devel java-1.7.0-openjdk-devel gperf freetype-devel \&lt;br /&gt;
               gtk2-devel libIDL-devel libXaw-devel bison patch GConf2-devel \&lt;br /&gt;
               gnome-vfs2-devel ant make tar rpm-build flex junit4 \&lt;br /&gt;
               perl-LWP-UserAgent-Determined perl-XML-Parser \&lt;br /&gt;
               perl-Digest-SHA ORBit2-devel perl-LWP-Protocol-https&lt;br /&gt;
&lt;br /&gt;
Build notes:&lt;br /&gt;
&lt;br /&gt;
* The perl-Digest-SHA dependency is not caught until bootstrap&lt;br /&gt;
* The ORBit2-devel dependency is not caught until building the &amp;quot;shell&amp;quot; module&lt;br /&gt;
* Build breaks in &amp;quot;hsqldb&amp;quot;: to build with Java7, you need to apply the patch at https://issues.apache.org/ooo/attachment.cgi?id=80961&amp;amp;action=diff&lt;br /&gt;
* Build breaks in &amp;quot;moz&amp;quot;: configure with --disable-mozilla to work around it.&lt;br /&gt;
&lt;br /&gt;
= Fedora 10 and 14 =&lt;br /&gt;
&lt;br /&gt;
== Build Instructions ==&lt;br /&gt;
&lt;br /&gt;
The [[Building|build procedure]] is the same as for other Linux systems.&lt;br /&gt;
&lt;br /&gt;
Required packages:&lt;br /&gt;
&lt;br /&gt;
 $ yum install tcsh perl-Archive-Zip gcc gcc-c++ cups-devel \&lt;br /&gt;
               pam-devel java-1.6.0-openjdk-devel gperf freetype-devel \&lt;br /&gt;
               gtk2-devel libIDL-devel libXaw-devel bison patch GConf2-devel \&lt;br /&gt;
               gnome-vfs2-devel ant make&lt;br /&gt;
&lt;br /&gt;
== Quick start guide ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;Still valid?&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
$ yum -y install mono-devel perl-Archive-Zip ant bison \&lt;br /&gt;
         flex pam-devel cups-devel gperf libxslt-devel openldap-devel \&lt;br /&gt;
         firefox-devel xorg-x11-devel gstreamer-devel \&lt;br /&gt;
         gstreamer-plugins-base-devel db4-devel unixODBC-devel \&lt;br /&gt;
         xml-commons-jaxp-1.3-apis xalan-j2 boost-devel \&lt;br /&gt;
         unixODBC-devel qt-devel subversion autoconf automake \&lt;br /&gt;
         gtk2-devel gcc-c++  gnome-vfs2-devel rpm-build \&lt;br /&gt;
         expat-devel python-devel curl-devel&lt;br /&gt;
&lt;br /&gt;
$ ./autogen.sh -with-distro=SUSE \&lt;br /&gt;
         --with-jdk-home=/usr/lib/jvm/java-1.5.0-gcj \&lt;br /&gt;
         --with-ant-home=/usr/share/ant \&lt;br /&gt;
         --with-system-mozilla=firefox \&lt;br /&gt;
         --disable-Xaw \&lt;br /&gt;
         --disable-kde \&lt;br /&gt;
         --disable-mono \&lt;br /&gt;
         --enable-opengl --enable-ogltrans \&lt;br /&gt;
         --disable-neon \&lt;br /&gt;
         --enable-debug&lt;br /&gt;
&lt;br /&gt;
Another list:&lt;br /&gt;
* http://people.redhat.com/caolanm/ooocvs/makefc3chroot&lt;br /&gt;
&lt;br /&gt;
Blog about building ooo-build on Fedora 7:&lt;br /&gt;
* http://openofficeorgfoo.blogspot.com/2007/12/building-ooo-build-from-source.html&lt;br /&gt;
&lt;br /&gt;
== Fedora packaging ==&lt;br /&gt;
&lt;br /&gt;
=== Fedora 14 ===&lt;br /&gt;
&lt;br /&gt;
The Fedora 14 spec file can be found at http://koji.fedoraproject.org/koji/buildinfo?buildID=276232 (download the srpm, and uncompress it (rpm2cpio &amp;lt;file&amp;gt; | cpio -idv) ); you&amp;#039;ll see the single spec file openoffice.org.spec ; note that it doesn&amp;#039;t build cleanly, you need to apply the patch from https://issues.apache.org/ooo/show_bug.cgi?id=114999&lt;br /&gt;
&lt;br /&gt;
=== Fedora 19 ===&lt;br /&gt;
&lt;br /&gt;
* HSQLDB does not build with Java 7: see https://issues.apache.org/ooo/show_bug.cgi?id=121754 for the relevant patches.&lt;br /&gt;
* Spec files for dmake and epm by Fred Ollinger are at https://github.com/fredollinger/aooo-fedora-rawhide&lt;br /&gt;
* A note from Ariel about dictionaries: http://mail-archives.apache.org/mod_mbox/openoffice-dev/201303.mbox/%3C20130329145345.GC2969%40localhost%3E&lt;br /&gt;
&lt;br /&gt;
= Windows 7, Windows 8.1, Windows 10 =&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Complete requirements found at [https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO#General_Build_Requirements General Build Requirements] and [https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Building_on_Windows Building on Windows].&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
This is a &amp;#039;&amp;#039;&amp;#039;sample&amp;#039;&amp;#039;&amp;#039; step-by-step guide - check the complete requirements and report on dev@openoffice.apache.org, if problems with this step-by-step guide occur.&lt;br /&gt;
&lt;br /&gt;
*Install Cygwin, &amp;#039;&amp;#039;&amp;#039;32-bit version&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
**Browse to [https://www.cygwin.com https://www.cygwin.com] and click on the setup-x86.exe link to download the most recent 32-bit version (the most recent Cygwin DLL at the moment is 3.0.7) or use [https://www.cygwin.com/setup-x86.exe this direct link]&lt;br /&gt;
**Run the installer and click through the questions&lt;br /&gt;
**On the &amp;quot;Choose A Download Site&amp;quot; select a nearby download server&lt;br /&gt;
**Expect a &amp;quot;Setup Alert&amp;quot; dialog box on the first cygwin install on the computer: click OK to close it&lt;br /&gt;
**On the page that allows you to select additional packages select: &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt; From the &amp;#039;&amp;#039;&amp;#039;Archive&amp;#039;&amp;#039;&amp;#039; category: &amp;lt;pre&amp;gt;zip, unzip&amp;lt;/pre&amp;gt; From the &amp;#039;&amp;#039;&amp;#039;Devel&amp;#039;&amp;#039;&amp;#039; category: &amp;lt;pre&amp;gt;autoconf, gperf, gcc-g++, bison, flex, patch, subversion, make&amp;lt;/pre&amp;gt; From the &amp;#039;&amp;#039;&amp;#039;Net&amp;#039;&amp;#039;&amp;#039; category: &amp;lt;pre&amp;gt;rsync&amp;lt;/pre&amp;gt;From the &amp;#039;&amp;#039;&amp;#039;Perl&amp;#039;&amp;#039;&amp;#039; category: &amp;lt;pre&amp;gt;perl, perl-XML-SAX-Expat, perl-Archive-Zip, perl-LWP-Protocol-https, perl-XML-parser, perl-libwww-perl, perl-Digest-SHA, perl-Net-SSLeay&amp;lt;/pre&amp;gt;As a shortcut you can install everything needed with one command:&amp;lt;pre&amp;gt;setup-x86.exe -P zip -P unzip -P autoconf -P gperf -P gcc-g++ -P bison -P flex -P patch -P subversion -P make -P rsync -P perl -P perl-XML-SAX-Expat -P perl-Archive-Zip -P perl-LWP-Protocol-https -P perl-XML-parser -P perl-libwww-perl -P perl-Digest-SHA -P perl-Net-SSLeay&amp;lt;/pre&amp;gt;If you will use git, you need in addition from the &amp;#039;&amp;#039;&amp;#039;Devel&amp;#039;&amp;#039;&amp;#039; category the packages:&amp;lt;pre&amp;gt;git, git-svn&amp;lt;/pre&amp;gt;&amp;lt;i&amp;gt;(If you prefer to install packages with a Linux kind of touch, you can skip selecting the packages and instead select just the package &amp;lt;b&amp;gt;lynx&amp;lt;/b&amp;gt; (enter lynx in the Search box and select the lynx entry in the Web/Default section). You would then install the other packages from the cygwin command line using lynx as explained ahead. However, selecting the packages from the Cygwin interface is recommended.)&amp;lt;/i&amp;gt;&lt;br /&gt;
**Click Next to finish package selection.&lt;br /&gt;
**Click Next to resolve dependencies.&lt;br /&gt;
**After installation is finished click the Finish button to close the dialog.&lt;br /&gt;
&lt;br /&gt;
*Start Cygwin bash in a terminal&lt;br /&gt;
&lt;br /&gt;
::In Windows 7 and later you can just type &amp;quot;cygwin&amp;quot; into the Start Menu search bar and then click on the Cygwin App. Or you can:&lt;br /&gt;
::*Press WindowsKey-R&lt;br /&gt;
::*Type &amp;quot;C:\cygwin\Cygwin.bat&amp;quot; (if that&amp;#039;s the path you installed Cygwin to)&lt;br /&gt;
::*Hit Return.&lt;br /&gt;
:::&amp;lt;i&amp;gt;(If you haven&amp;#039;t installed the necessary packages from the Cygwin interface yet because you would prefer to install them using lynx from the Cygwin command line, then you should do so now. First install &amp;lt;b&amp;gt;apt-cyg&amp;lt;/b&amp;gt; from the Github repository:)&amp;lt;pre&amp;gt;cd /cygdrive/c/temp&amp;lt;/pre&amp;gt;(or any other temporary directory of your choice)&amp;lt;pre&amp;gt;lynx -source rawgit.com/transcode-open/apt-cyg/master/apt-cyg &amp;gt; apt-cyg&amp;amp;#10;chmod +x apt-cyg&amp;amp;#10;mv apt-cyg /usr/local/bin/&amp;lt;/pre&amp;gt;Use &amp;lt;b&amp;gt;apt-cyg&amp;lt;/b&amp;gt; to install missing cygwin packages:&amp;lt;pre&amp;gt;apt-cyg install perl zip unzip gperf autoconf rsync gcc-g++ bison flex patch subversion make&amp;lt;/pre&amp;gt;(You must also provide to install the missing perl packages, for example with &amp;quot;cpan -i Archive::Zip LWP::UserAgent LWP::Protocol XML::Parser&amp;quot; etc. however there can be some dependency conflicts, the recommended method is installing the packages from the cygwin interface)&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Replace symlinked awk with copy of gawk.exe:&amp;lt;pre&amp;gt;rm /usr/bin/awk&amp;amp;#10;mv /usr/bin/gawk.exe /usr/bin/awk.exe&amp;lt;/pre&amp;gt;Note that if the &amp;lt;code&amp;gt;rm&amp;lt;/code&amp;gt; command fails then the &amp;lt;code&amp;gt;mv&amp;lt;/code&amp;gt; is not necessary.&lt;br /&gt;
&lt;br /&gt;
* Install Java, &amp;#039;&amp;#039;&amp;#039;32-bit version&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
::Choose between JDK or OpenJDK. Versions 1.7 and 1.8 are known to work.&lt;br /&gt;
::(We need the 32-bit version because JNI requires the JVM&amp;#039;s bitness to match the C/C++ bitness).&lt;br /&gt;
&lt;br /&gt;
* Install Apache Ant&lt;br /&gt;
**Browse to https://ant.apache.org/bindownload.cgi&lt;br /&gt;
**Chose a mirror near you.&lt;br /&gt;
**Download the zip archive (currently that is apache-ant-1.9.14-bin.zip or apache-ant-1.10.6-bin.zip).&amp;lt;br /&amp;gt; Note that Apache Ant 1.10.x will only work with Java 8.&lt;br /&gt;
**Open downloaded archive in file explorer and unzip it to a location of your choice, eg &amp;lt;code&amp;gt;c:\&amp;lt;/code&amp;gt;.  Note that &amp;lt;code&amp;gt;C:\Program Files (x86)&amp;lt;/code&amp;gt; will not work due to problems of quoting the spaces and parentheses.&lt;br /&gt;
    &lt;br /&gt;
* Install Microsoft Windows SDK for Windows 7 and .NET Framework 3.5. SP1 (recommended by Microsoft. Note: later versions of the Windows SDK will not work. AOO can not be built with MSVC 2010 or 2012 - MSVC 2008 is needed and is found in the Windows 7 SDK) &lt;br /&gt;
** Browse to http://www.microsoft.com/en-us/download/details.aspx?id=3138.&lt;br /&gt;
** Download winsdk_web.exe and run the web installer. You can use the default values in the installation dialog, except when prompted with the installation path use a path that has no spaces or parentheses (e.g. &amp;quot;C:\Microsoft_SDKs\Windows\v7.0&amp;quot;), because otherwise the build process will choke on those spaces or parentheses.&lt;br /&gt;
** Alternatively download the iso image http://www.microsoft.com/en-us/download/details.aspx?id=18950. Burn it to a dvd or unzip it.&lt;br /&gt;
&lt;br /&gt;
* Download MS Visual C++ 2008 SP1 Redistributable Package (x86)&lt;br /&gt;
** https://www.microsoft.com/en-us/download/details.aspx?id=26368 (There have been security updates, which are not included in older versions)&lt;br /&gt;
**Download files vcredist_x86.exe and vcredist_x64.exe&amp;lt;br /&amp;gt; We need both 32 and 64-bit versions because we build 64-bit shell extensions. If you download the most recent version of Apache OpenOffice and unpack it, you will find the files vcredist_x86.exe and vcredist_x64.exe in folder redist. You can use them as well.&lt;br /&gt;
&lt;br /&gt;
* Optional: Install DirectX SDK (for graphics hardware support in the slide show)&lt;br /&gt;
** Browse to http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&amp;amp;id=6812&lt;br /&gt;
** Download and run DXSDK_Jun10.exe. Choose to install to a custom path, and use a path that has neither spaces nor parentheses (e.g. &amp;lt;code&amp;gt;C:\Microsoft_DirectX_SDK_June_2010&amp;lt;/code&amp;gt;), because otherwise the build will not be able to parse the path and will choke on the spaces or parentheses. &amp;lt;i&amp;gt;(If you receive an S1023 error towards the end of the installation, [https://support.microsoft.com/it-it/kb/2728613 the fix is simple]. The issue occurs because a newer version of the Visual C++ 2010 Redistributable is present on the computer. The June 2010 DirectX SDK installs version 10.0.30319 of the Visual C++ Redistributable. To resolve this issue, you must uninstall all versions of the Visual C++ 2010 Redistributable before installing the June 2010 DirectX SDK. You may have one or more of the following products installed: Visual C++ 2010 Redistributable x86, Visual C++ 2010 Redistributable x64.  You can use Add or Remove Programs in Control Panel to uninstall the products. Or, you can run the following commands from an administrator command prompt: &amp;lt;pre&amp;gt;MsiExec.exe /passive /X{F0C3E5D1-1ADE-321E-8167-68EF0DE699A5} &amp;amp;#10;MsiExec.exe /passive /X{1D8E6291-B0D5-35EC-8441-6616F567A0F7}&amp;lt;/pre&amp;gt; and then run the DirectX SDK installer. After installing the June 2010 DirectX SDK, you may then reinstall the most current version of the [http://www.microsoft.com/download/details.aspx?id=26999 Visual C++ 2010 Redistributable Package].)&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Optional: Install Windows Driver Kit 7.1.0 (for enabling activex)&lt;br /&gt;
** Download [http://www.microsoft.com/en-us/download/details.aspx?id=11800 WDK 7.1.0] (is an ISO image). Cannot use later versions of Windows Driver Kit because they do not have ATL which is needed to build AOO with ActiveX. (I recommend to download using Internet Explorer, otherwise the install may fail a Windows Authenticity test, whereas this does not happen using Internet Explorer to download the ISO image.)&lt;br /&gt;
** Mount the ISO image and install.&lt;br /&gt;
&lt;br /&gt;
* Optional: Install NSIS installer (for creating the EXE installer)&lt;br /&gt;
** Browse to [https://sourceforge.net/projects/nsis/files/ https://sourceforge.net/projects/nsis/files/]&lt;br /&gt;
** Download and run the installer (note that versions of NSIS &amp;gt;= 3.* are only compatible with branch 4.1.3 or later! otherwise you will have to install at most [https://sourceforge.net/projects/nsis/files/NSIS%202/2.51/nsis-2.51-setup.exe/download NSIS 2.51]). Recommended to install to custom location, choose a path without any spaces (e.g. &amp;quot;C:\NSIS&amp;quot;).&lt;br /&gt;
** For Asian languages (ja, ko, zh-CN, zh-TW) the language files have to be edited, otherwise the graphics in the first installer windows don&amp;#039;t fit. In &amp;quot;{NSISDIR}\Contrib\Language files\Japanese.nlf&amp;quot; (Korean.nlf, TradChinese.nlf, SimpChinese.nlf accordingly) change: &amp;lt;pre&amp;gt;Font and size - dash (-) means default&amp;amp;#10;{font-name}&amp;amp;#10;{font-size}&amp;lt;/pre&amp;gt; to:&amp;lt;pre&amp;gt;Font and size - dash (-) means default&amp;amp;#10;-&amp;amp;#10;-&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* Optional: Install the MozillaBuild tools. These are needed to build the &amp;lt;b&amp;gt;NSS&amp;lt;/b&amp;gt; (&amp;quot;Network Security Services&amp;quot;) module. Download from [https://ftp.mozilla.org/pub/mozilla/libraries/win32/ here]. Install to a custom path without any spaces, such as &amp;lt;code&amp;gt;C:\mozilla-build&amp;lt;/code&amp;gt;. MozillaBuild tools version 3.0 or newer require a 64-bit Windows. When building on 32-bit Windows it is recommended to use version 2.2.0.&lt;br /&gt;
&lt;br /&gt;
* Get AOO source code. You can use the source release or check out from SVN. Build from source release if you want to build OpenOffice once but don&amp;#039;t want to contribute patches. If you will contribute patches, you need to generate them against an actual version of trunk. In this case check out from SVN to be able to rebase before generating patches. You can work with subversion or with git-svn. Do not use a tool that changes line endings, such as the default configuration of TortoiseSVN. NOTE: Do not place the source directory under the Cygwin file system. This means that placing it, for example, at &amp;#039;/home/aoo/source&amp;#039; is not recommended.&lt;br /&gt;
&lt;br /&gt;
::; Source release:&lt;br /&gt;
::* Browse to http://www.openoffice.org/download/other.html#tested-sdk and locate the table row that starts with &amp;quot;Source code&amp;quot;&lt;br /&gt;
::* Download source code in an archive format of your choice (note that tar.bz2 is typically smaller than tar.gz and zip)&lt;br /&gt;
::* Optional: Verify the archive - following given link or instructions.&lt;br /&gt;
::* Unpack source (in cygwin-terminal). Use the file name exactly as downloaded.&amp;lt;pre&amp;gt;cd /tmp&amp;amp;#10;tar -xjf &amp;lt;download-location&amp;gt;/&amp;lt;downloaded-source-release.tar.bz2&amp;gt;&amp;amp;#10;cd &amp;lt;unpacked-source&amp;gt;/main&amp;amp;#10;&amp;lt;/pre&amp;gt;Do not use Windows unpacker, they might cause access right problems. &lt;br /&gt;
&lt;br /&gt;
::; Checkout from SVN using subversion :&lt;br /&gt;
::*&amp;lt;i&amp;gt;(If you haven&amp;#039;t installed the subversion package from the cygwin interface, please do so now by re-running the cygwin installer, or if you used lynx and apt-cyg then:)&amp;lt;pre&amp;gt;apt-cyg install subversion&amp;lt;/pre&amp;gt;&amp;lt;/i&amp;gt; &lt;br /&gt;
::*Start with creating a parent directory for the source code: &amp;lt;pre&amp;gt;mkdir /cygdrive/c/source&amp;amp;#10;cd /cygdrive/c/source&amp;lt;/pre&amp;gt;&lt;br /&gt;
::*Check out source from Apache SVN repository&amp;lt;pre&amp;gt;svn co https://svn.apache.org/repos/asf/openoffice/trunk aoo-trunk&amp;amp;#10;cd aoo-trunk/main&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
::; Checkout from SVN using git-svn :&lt;br /&gt;
::*&amp;lt;i&amp;gt;(If you haven&amp;#039;t installed git and git-svn from the cygwin interface, please do so now by re-running the cygwin installer, or if you used lynx and apt-cyg then:)&amp;lt;pre&amp;gt;apt-cyg install git git-svn&amp;lt;/pre&amp;gt;&amp;lt;/i&amp;gt;&lt;br /&gt;
::*Get the actual revision number from http://svn.apache.org/viewvc/OpenOffice/trunk/, e.g. 1234567&lt;br /&gt;
::*Create an empty directory and change to it, e.g.&amp;lt;pre&amp;gt;mkdir /cygdrive/c/source&amp;amp;#10;cd /cygdrive/c/source&amp;lt;/pre&amp;gt;&lt;br /&gt;
::*Check out source from Apache SVN repository&amp;lt;pre&amp;gt;git svn clone --revision 1234567:HEAD https://svn.apache.org/repos/asf/openoffice/trunk&amp;amp;#10;cd trunk/main&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Remember the source path (this is optional, it makes for an easy reference):&amp;lt;pre&amp;gt;SourceMain=`pwd`&amp;lt;/pre&amp;gt; [Why? I have not used it. [[User:Regina|Regina]] ([[User talk:Regina|talk]]) 21:42, 24 February 2013 (UTC)]&lt;br /&gt;
:[Added explanation above [[User:Andre|Andre]]]&lt;br /&gt;
&lt;br /&gt;
* Optional: Get dbghelp.dll (for using the &amp;lt;code&amp;gt;--enable-dbgutil&amp;lt;/code&amp;gt; configure option)&lt;br /&gt;
** This dll is part of MS Visual Studio. If you do not have it installed, download and install &amp;quot;Visual Studio Community&amp;quot; from https://www.visualstudio.com/en-us/downloads/download-visual-studio-vs.aspx &lt;br /&gt;
** Copy file to &amp;lt;code&amp;gt;main/external/dbghelp&amp;lt;/code&amp;gt;. Use Windows file manager or in cygwin terminal&amp;lt;pre&amp;gt;cp /cygdrive/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio\ 9.0/Common7/IDE/dbghelp.dll $SourceMain/external/dbghelp&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Copy vcredist_x86.exe and vcredist_x64.exe (see above) to main/external/vcredist.&lt;br /&gt;
** Use Windows file manager or in cygwin terminal&amp;lt;pre&amp;gt;cp &amp;lt;download-location&amp;gt;/vcredist_x86.exe $SourceMain/external/vcredist&amp;amp;#10;cp &amp;lt;download-location&amp;gt;/vcredist_x64.exe $SourceMain/external/vcredist&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Get GDI+ redistributable:&lt;br /&gt;
**Browse to https://www.microsoft.com/en-us/download/details.aspx?id=18909&lt;br /&gt;
**Download WindowsXP-KB975337-x86-ENU.exe&lt;br /&gt;
**Run WindowsXP-KB975337-x86-ENU.exe&lt;br /&gt;
**Enter a temporary path (eg c:\temp\gdiplus) in the dialog and click OK to extract files&lt;br /&gt;
**Copy gdiplus.dll to main/external/gdiplus&amp;lt;pre&amp;gt;cp /cygdrive/c/temp/gdiplus/asms/10/msft/windows/gdiplus/gdiplus.dll $SourceMain/external/gdiplus/&amp;lt;/pre&amp;gt;&lt;br /&gt;
** Remove the temporary path&amp;lt;pre&amp;gt;rm -fr /cygdrive/c/temp/gdiplus&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Get msvcr100.dll:&lt;br /&gt;
**We need the 32-bit dll (version 10.0.40219.325), available from: https://www.microsoft.com/en-US/download/details.aspx?id=26999&amp;lt;pre&amp;gt;cp /cygdrive/c/Windows/System32/msvcr100.dll $SourceMain/external/msvcp100&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Make sure that you are in the main source directory:&amp;lt;pre&amp;gt;cd $SourceMain&amp;lt;/pre&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
* Run autoconf to create the configure script:&amp;lt;pre&amp;gt;autoconf&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Call configure&lt;br /&gt;
** For those paths that do have spaces, use the cygpath tool to get a shortened version without any spaces, which you can then use in the configuration directives without any trouble (adapt paths as necessary):&amp;lt;pre&amp;gt;$ cygpath -m -s &amp;quot;C:\Program Files (x86)\Java\jdk1.8.0_73&amp;quot; &amp;amp;#10;C:/PROGRA~2/Java/JDK18~1.0_7 &amp;amp;#10;$ cygpath -m -s &amp;quot;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC&amp;quot; &amp;amp;#10;C:/PROGRA~2/MI1DCA~1.0/VC&amp;lt;/pre&amp;gt;Run configure (again adapt paths as necessary)&amp;lt;pre&amp;gt;SDK_PATH=&amp;quot;/cygdrive/c/Microsoft_SDKs/Windows/v7.0&amp;quot;&amp;amp;#10;./configure \&amp;amp;#10;    --with-frame-home=&amp;quot;$SDK_PATH&amp;quot; \&amp;amp;#10;    --with-psdk-home=&amp;quot;$SDK_PATH&amp;quot; \&amp;amp;#10;    --with-midl-path=&amp;quot;$SDK_PATH/bin&amp;quot; \&amp;amp;#10;    --with-ant-home=&amp;quot;/cygdrive/c/apache-ant-1.9.14&amp;quot; \&amp;amp;#10;    --with-jdk-home=&amp;quot;C:/PROGRA~2/Java/JDK18~1.0_7&amp;quot; \&amp;amp;#10;    --with-csc-path=&amp;quot;C:/Windows/Microsoft.NET/Framework/v3.5&amp;quot; \&amp;amp;#10;    --with-cl-home=&amp;quot;C:/PROGRA~2/MI1DCA~1.0/VC&amp;quot; \&amp;amp;#10;    --with-asm-home=&amp;quot;C:/PROGRA~2/MI1DCA~1.0/VC/bin&amp;quot; \&amp;amp;#10;    --with-dmake-url=&amp;quot;https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2&amp;quot; \&amp;amp;#10;    --disable-pch \&amp;amp;#10;    --disable-atl \&amp;amp;#10;    --disable-activex \&amp;amp;#10;    --disable-nss-module \&amp;amp;#10;    --without-junit&amp;lt;/pre&amp;gt;If you have installed the optional DirectX SDK then you can add the switch:&amp;lt;pre&amp;gt;    --with-directx-home=&amp;quot;C:/Microsoft_DirectX_SDK_June_2010&amp;quot;&amp;lt;/pre&amp;gt;If you have installed Windows Driver Kit 7.1.0 and would like to build with ATL and ActiveX functionality then remove the &amp;lt;code&amp;gt;--disable-activex&amp;lt;/code&amp;gt; and the &amp;lt;code&amp;gt;--disable-atl&amp;lt;/code&amp;gt; directives, and add the atl home directives: &amp;lt;pre&amp;gt;    --with-atl-include-dir=/cygdrive/c/WinDDK/7600.16385.1/inc/atl71 \&amp;amp;#10;    --with-atl-lib-dir=/cygdrive/c/WinDDK/7600.16385.1/lib/ATL/i386 \&amp;amp;#10;    --with-mfc-include-dir=/cygdrive/c/WinDDK/7600.16385.1/inc/mfc42 \&amp;amp;#10;    --with-mfc-lib-dir=/cygdrive/c/WinDDK/7600.16385.1/lib/Mfc/i386&amp;lt;/pre&amp;gt;If you have installed NSIS you can use the relative directive &amp;lt;pre&amp;gt;    --with-nsis-path=&amp;quot;C:/NSIS&amp;quot;&amp;lt;/pre&amp;gt;If you have installed MozillaBuild tools you can use the relative switch:&amp;lt;pre&amp;gt;    --with-mozilla-build=&amp;quot;/cygdrive/d/mozilla-build&amp;quot;&amp;lt;/pre&amp;gt;You may also enable a few more switches (used for official releases: --enable-win-x64-shellext):&amp;lt;pre&amp;gt;    --enable-win-x64-shellext \&amp;amp;#10;    --enable-wiki-publisher \&amp;amp;#10;    --enable-category-b \&amp;amp;#10;    --enable-bundled-dictionaries&amp;lt;/pre&amp;gt;and if you would like to build for different locales you can use the lang switch (in this example, for English United States and for Italian):&amp;lt;pre&amp;gt;    --with-lang=&amp;quot;en-US it&amp;quot;&amp;lt;/pre&amp;gt;If you have copied over the dbghelp.dll and would like these extra features you can enable the debug switch:&amp;lt;pre&amp;gt;    --enable-dbgutil&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Finish configuration and download missing external source tarballs and extensions&amp;lt;pre&amp;gt;./bootstrap&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Include the configured environment&amp;lt;pre&amp;gt;source winenv.set.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Build&amp;lt;pre&amp;gt;cd instsetoo_native/&amp;amp;#10;build --all&amp;lt;/pre&amp;gt;Depending on your computer this will take one or more hours to finish. You may want to experiment with the -P options for multi process builds to reduce the build time. &amp;lt;pre&amp;gt;build --all -P&amp;lt;m&amp;gt; -- -P&amp;lt;n&amp;gt;&amp;lt;/pre&amp;gt; tells build to use &amp;lt;code&amp;gt;m&amp;lt;/code&amp;gt; processes (build up to &amp;lt;code&amp;gt;m&amp;lt;/code&amp;gt; modules in parallel) and &amp;lt;code&amp;gt;n&amp;lt;/code&amp;gt; threads for each module.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install&amp;lt;br/&amp;gt;There are three options:&lt;br /&gt;
*# Regular install with integration into Windows.&amp;lt;br/&amp;gt;This allows only one instance of AOO to be installed.&lt;br /&gt;
*#* Start setup.exe and click through dialog:&amp;lt;br/&amp;gt;&amp;lt;pre&amp;gt;$SourceMain/instsetoo_native/wntmsci12.pro/OpenOffice/msi/install/en-US/setup.exe&amp;lt;/pre&amp;gt;&lt;br /&gt;
*#* Apache OpenOffice can be started via the Windows start menu.&lt;br /&gt;
*# Install without integration into Windows.&amp;lt;br/&amp;gt;This allows several instance of AOO, based on the same version, to be installed side by side.&amp;lt;br/&amp;gt;It still requires Administrator permissions.&lt;br /&gt;
*#* Start &amp;lt;code&amp;gt;setup.exe&amp;lt;/code&amp;gt; with option &amp;lt;code&amp;gt;-a&amp;lt;/code&amp;gt;:&amp;lt;br/&amp;gt;&amp;lt;pre&amp;gt;$SourceMain/instsetoo_native/wntmsci12.pro/OpenOffice/msi/install/en-US/setup.exe -a&amp;lt;/pre&amp;gt;&lt;br /&gt;
*#* Enter an installation path into the dialog and click through the dialog to finish installation.&lt;br /&gt;
*#* Start AOO by running&amp;lt;br/&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;installation-path&amp;gt;/program/soffice.exe&amp;lt;/pre&amp;gt;&lt;br /&gt;
*# Unpack archive without installation.&amp;lt;br/&amp;gt;This does not require Administrator permissions&lt;br /&gt;
*#* Go to installation directory:&amp;lt;br/&amp;gt;&amp;lt;pre&amp;gt;cd &amp;lt;installation-target&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
*#* Unzip archive:&amp;lt;br/&amp;gt;&amp;lt;pre&amp;gt;unzip $SourceMain/instsetoo_native/wntmsci12.pro/Apache_OpenOffice/msi/install/en-US/Apache_OpenOffice_4.1.4_Win_x86_install-arc_en-US.zip&amp;lt;/pre&amp;gt;&lt;br /&gt;
*#* Start AOO by running:&amp;lt;br/&amp;gt;&amp;lt;pre&amp;gt;./Apache_OpenOffice_4.1.4_Win_x86_install-arc_en-US/program/soffice.exe&amp;lt;/pre&amp;gt;&lt;br /&gt;
::: (Change the version number in the file name to match the version you built)&lt;br /&gt;
&lt;br /&gt;
== Build with Cygwin 64-bit ==&lt;br /&gt;
&lt;br /&gt;
Note: Building AOO with Cygwin 64-bit will only work with latest trunk, it will &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; work with any 4.1.x branch!&lt;br /&gt;
&lt;br /&gt;
* Install Cygwin, &amp;#039;&amp;#039;&amp;#039;64-bit version&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
** Browse to [https://www.cygwin.com https://www.cygwin.com] and click on the setup-x86_64.exe link to download the most recent 64-bit version (the most recent Cygwin DLL at the moment is 3.0.7) or use [https://www.cygwin.com/setup-x86_64.exe this direct link]&lt;br /&gt;
** Run the installer and click through the questions&lt;br /&gt;
** On the &amp;quot;Choose A Download Site&amp;quot; select a nearby download server&lt;br /&gt;
** Expect a &amp;quot;Setup Alert&amp;quot; dialog box on the first cygwin install on the computer: click OK to close it&lt;br /&gt;
** On the page that allows you to select additional packages select: &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt; From the &amp;#039;&amp;#039;&amp;#039;Archive&amp;#039;&amp;#039;&amp;#039; category: &amp;lt;pre&amp;gt;zip, unzip&amp;lt;/pre&amp;gt; From the &amp;#039;&amp;#039;&amp;#039;Devel&amp;#039;&amp;#039;&amp;#039; category: &amp;lt;pre&amp;gt;autoconf, gperf, gcc-g++, bison, flex, patch, subversion, make&amp;lt;/pre&amp;gt; From the &amp;#039;&amp;#039;&amp;#039;Net&amp;#039;&amp;#039;&amp;#039; category: &amp;lt;pre&amp;gt;rsync&amp;lt;/pre&amp;gt;From the &amp;#039;&amp;#039;&amp;#039;Perl&amp;#039;&amp;#039;&amp;#039; category: &amp;lt;pre&amp;gt;perl, perl-XML-SAX-Expat, perl-Archive-Zip, perl-LWP-Protocol-https, perl-XML-parser, perl-libwww-perl, perl-Digest-SHA, perl-Net-SSLeay&amp;lt;/pre&amp;gt;As a shortcut you can install everything needed with one command:&amp;lt;pre&amp;gt;setup-x86_64.exe -P zip -P unzip -P autoconf -P gperf -P gcc-g++ -P bison -P flex -P patch -P subversion -P make -P rsync -P perl -P perl-XML-SAX-Expat -P perl-Archive-Zip -P perl-LWP-Protocol-https -P perl-XML-parser -P perl-libwww-perl -P perl-Digest-SHA -P perl-Net-SSLeay&amp;lt;/pre&amp;gt;If you will use git, you need in addition from the &amp;#039;&amp;#039;&amp;#039;Devel&amp;#039;&amp;#039;&amp;#039; category the packages:&amp;lt;pre&amp;gt;git, git-svn&amp;lt;/pre&amp;gt;&lt;br /&gt;
** Click Next to finish package selection.&lt;br /&gt;
** Click Next to resolve dependencies.&lt;br /&gt;
** After installation is finished click the Finish button to close the dialog.&lt;br /&gt;
&lt;br /&gt;
* Start Cygwin bash in a terminal and follow all the steps for 32-bit Cygwin up to and including &amp;#039;./configure&amp;#039; with relative parameters&lt;br /&gt;
** Finish configuration and download missing external source tarballs and extensions&amp;lt;pre&amp;gt;./bootstrap&amp;lt;/pre&amp;gt;&lt;br /&gt;
** Include the configured environment&amp;lt;pre&amp;gt;source winenv.set.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
** Build&amp;lt;pre&amp;gt;cd instsetoo_native/&amp;amp;#10;build --all&amp;lt;/pre&amp;gt;Depending on your computer this will take one or more hours to finish. You may want to experiment with the -P options for multi process builds to reduce the build time. &amp;lt;pre&amp;gt;build --all -P&amp;lt;m&amp;gt; -- -P&amp;lt;n&amp;gt;&amp;lt;/pre&amp;gt; tells build to use &amp;lt;code&amp;gt;m&amp;lt;/code&amp;gt; processes (build up to &amp;lt;code&amp;gt;m&amp;lt;/code&amp;gt; modules in parallel) and &amp;lt;code&amp;gt;n&amp;lt;/code&amp;gt; threads for each module.&lt;br /&gt;
&lt;br /&gt;
=Mac OS X=&lt;br /&gt;
In order to build OpenOffice on Mac OS X see [[Documentation/Building Guide AOO/Building on MacOsX|Building on MacOSX]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:Porting]]&lt;br /&gt;
[[Category:Build_System]]&lt;/div&gt;</summary>
		<author><name>Mechtilde</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Documentation/Building_Guide_AOO&amp;diff=245575</id>
		<title>Documentation/Building Guide AOO</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Documentation/Building_Guide_AOO&amp;diff=245575"/>
		<updated>2019-08-04T16:56:03Z</updated>

		<summary type="html">&lt;p&gt;Mechtilde: /* Getting the source */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:Apache OpenOffice Building Guide}}&lt;br /&gt;
&lt;br /&gt;
= Preface =&lt;br /&gt;
This guide will help you to build Apache OpenOffice from its source code.  It details the prerequisites and explains how to download the source code, prepare and then run the build. [[Documentation/Building_Guide_AOO/Step_by_step|Step-by-step instructions]] for resolving the pre-requisites of individual platforms and building on them are available.&lt;br /&gt;
  &lt;br /&gt;
Here is the short version for the brave and impatient:&lt;br /&gt;
# Download the source:  &amp;lt;code&amp;gt;svn co https://svn.apache.org/repos/asf/openoffice/trunk aoo&amp;lt;/code&amp;gt;&lt;br /&gt;
# since 2019-08-03 &amp;lt;code&amp;gt;git clone https://gitbox.apache.org/repos/asf/openoffice.git&amp;lt;/code&amp;gt;&lt;br /&gt;
# Configure: &amp;lt;code&amp;gt;cd main/ ; autoconf ; ./configure &amp;lt;some-switches&amp;gt; ; ./bootstrap&amp;lt;/code&amp;gt;&lt;br /&gt;
# Build: &amp;lt;code&amp;gt;source &amp;lt;platform-dependend-name&amp;gt;.sh ; cd instsetoo_native ; build --all&amp;lt;/code&amp;gt;&lt;br /&gt;
# Wait for an hour or more (The build can take up to 3 hours.)&lt;br /&gt;
# Enjoy&lt;br /&gt;
&lt;br /&gt;
The detailed description below gives a broader introduction into the build process and explains for the various steps.&lt;br /&gt;
 &lt;br /&gt;
{{Note|This document is loosely based on an older [[Documentation/Building Guide|version]].  I have tried to avoid duplication and to move anything that all platforms have in common to this page.  Many details have been removed on purpose because they refer to older version of OpenOffice.}}&lt;br /&gt;
* How to use cache&lt;br /&gt;
&lt;br /&gt;
{{SeeAlso|EN|*[[How_to_build_Symphony%27s_source_code]] }}&lt;br /&gt;
&lt;br /&gt;
= Getting help =&lt;br /&gt;
You can get help by searching this wiki or by asking questions on the [http://openoffice.apache.org/mailing-lists.html#development-mailing-list-public developers mailing list].&lt;br /&gt;
&lt;br /&gt;
You can help us improve this guide by pointing out any errors (preferably after finding a solution).&lt;br /&gt;
Or don&amp;#039;t be shy and edit (and improve) these pages yourself.&lt;br /&gt;
&lt;br /&gt;
= Basics =&lt;br /&gt;
&lt;br /&gt;
In order to build Apache OpenOffice you need a proper environment.  This includes&lt;br /&gt;
* a command line interpreter, typically bourne shell compatible (sh or bash) inside a terminal. On Windows you will need to install Cygwin to provide it.&lt;br /&gt;
* C++ compiler and linker.  The exact choice depends on the operating system.&lt;br /&gt;
* Perl interpreter and several modules.&lt;br /&gt;
* Many tools from the Unix world like make or sed.&lt;br /&gt;
&lt;br /&gt;
See section [[#General_Build_Requirements | General Build Requirements]]&lt;br /&gt;
for an exact list of requirements.&lt;br /&gt;
&lt;br /&gt;
= Getting the source =&lt;br /&gt;
&lt;br /&gt;
The source code is available as SVN repository at https://svn.apache.org/repos/asf/openoffice&lt;br /&gt;
&lt;br /&gt;
Check it out with&lt;br /&gt;
&lt;br /&gt;
   svn co https://svn.apache.org/repos/asf/openoffice/trunk aoo&lt;br /&gt;
   git clone https://gitbox.apache.org/repos/asf/openoffice.git #since 2019-08-03&lt;br /&gt;
&lt;br /&gt;
More details about how to check out source code from SVN can be found [http://openoffice.apache.org/source.html here].&lt;br /&gt;
&lt;br /&gt;
== Space Requirements ==&lt;br /&gt;
&lt;br /&gt;
The checked out files take up somewhat over 5GB on disk (more than 150000 files in more than 7000 folders and the SVN overhead). &lt;br /&gt;
&lt;br /&gt;
After building this becomes (on Windows7) almost 17GB (more than 406000 files in more than 23000 folders).&lt;br /&gt;
&lt;br /&gt;
You can use git as well. There exists no guide for this, therefore ask on dev@openoffice.apache.org, if you want to use git.&lt;br /&gt;
&lt;br /&gt;
= Organization of the source and output tree =&lt;br /&gt;
&lt;br /&gt;
The source code has five top level directories:&lt;br /&gt;
;main/:contains most of the so called modules.  Each module typically provides one or more libraries. The source code of the writer application for example can be found in &amp;lt;code&amp;gt;main/sw/&amp;lt;/code&amp;gt;. More information on the organization of the modules in the source code directories [[Source_code_directories | here]].&lt;br /&gt;
;test/:contains the new [[QA/test_automation_guide | automated testing framework]]&lt;br /&gt;
;ext_libraries/:is the new home of modules that build external libraries (libraries maintained outside of Apache OpenOffice and often outside Apache).&lt;br /&gt;
;ext_sources/:contains the tar balls (archives) of external libraries.  They are included both for convenience and to make sure that specific versions remain available.  Note that the source package of the Apache OpenOffice release does not contain any external tar balls. &lt;br /&gt;
;extras/:holds the localization data.&lt;br /&gt;
&lt;br /&gt;
Most tools and scripts that are used for building are located below &amp;lt;code&amp;gt;main/solenv/&amp;lt;/code&amp;gt;:&lt;br /&gt;
*dmake makefiles in &amp;lt;code&amp;gt;main/solenv/inc/&amp;lt;/code&amp;gt;&lt;br /&gt;
*gmake makefiles in &amp;lt;code&amp;gt;main/solenv/gbuild/&amp;lt;/code&amp;gt;&lt;br /&gt;
*executables and perl files in &amp;lt;code&amp;gt;main/solenv/bin/&amp;lt;/code&amp;gt;&lt;br /&gt;
*perl modules in &amp;lt;code&amp;gt;main/bin/modules/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Libraries and other output files that are shared between modules are stored in &amp;lt;code&amp;gt;main/solver/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=Building=&lt;br /&gt;
&lt;br /&gt;
==Overview==&lt;br /&gt;
&lt;br /&gt;
Building Apache OpenOffice consists of three steps:&lt;br /&gt;
;Configuring/bootstrapping:Detect platform, operating system, compiler, etc. and write the information into a shell script for later use.  The developer can turn on or off certain features in this phase.&lt;br /&gt;
;Building:Compile the source code, transform other input files, apply localization.&lt;br /&gt;
;Packing:Create a set of files, the installation set, that can be installed on the respective operating system.  This can be msi/cab files for windows, deb or rpm for Linux, dmg for Mac.&lt;br /&gt;
&lt;br /&gt;
The configure step has to be carried out only once.  Building and packing is necessary after every source code change.  There are short cuts to avoid parts of these steps (when you know what you are doing.)&lt;br /&gt;
&lt;br /&gt;
The building examples in this wiki document use only command line approaches to building. Depending on your expertise, it may be possible to use an IDE which allows specification of custom build scripts. &lt;br /&gt;
&lt;br /&gt;
== General Build Requirements ==&lt;br /&gt;
&lt;br /&gt;
The general requirements for all platforms are&lt;br /&gt;
{| class=&amp;quot;prettytable&amp;quot;&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
! Requirement&lt;br /&gt;
! Description&lt;br /&gt;
! Configure switch&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| Java JDK&lt;br /&gt;
| Java Implementation compatible with [http://www.oracle.com/technetwork/java/javase/downloads/jre7-downloads-1880261.html JDK 1.7] or  higher. [http://openjdk.java.net/ OpenJDK] is supported as well.&lt;br /&gt;
For Windows [http://www.oracle.com/technetwork/java/javase/downloads/index.html/ JDK 1.7] or JDK 1.8 is recommended.&lt;br /&gt;
The JDK&amp;#039;s bitness must match the target platform&amp;#039;s, eg. when building for Win32, use a 32 bit JDK even if compiling on Win64.&lt;br /&gt;
| --with-jdk-home=&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| Perl&lt;br /&gt;
| Perl 5 - note: for Windows Perl will be installed as part of the cygwin environment.&lt;br /&gt;
&lt;br /&gt;
Also required are the perl packages&lt;br /&gt;
&lt;br /&gt;
* Archive::Zip&lt;br /&gt;
* XML::Parser&lt;br /&gt;
* LWP::UserAgent&lt;br /&gt;
* Digest::SHA&lt;br /&gt;
* Digest::MD5&lt;br /&gt;
* LWP::Protocol::https&lt;br /&gt;
&lt;br /&gt;
On Linux, use whenever possible your package manager to install the required modules. On Windows, use cygwin&amp;#039;s setup-x86.exe or setup-x86_64.exe.&lt;br /&gt;
&lt;br /&gt;
The name of packages varies depending on the system:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Perl Module &lt;br /&gt;
! CentOS/Fedora&lt;br /&gt;
! Debian/Ubuntu&lt;br /&gt;
! Windows/cygwin&lt;br /&gt;
|-&lt;br /&gt;
| Archive::Zip&lt;br /&gt;
| perl-Archive-Zip&lt;br /&gt;
| libarchive-zip-perl&lt;br /&gt;
| perl-Archive-Zip&lt;br /&gt;
|-&lt;br /&gt;
| XML::Parser&lt;br /&gt;
| perl-XML-Parser&lt;br /&gt;
| libxml-parser-perl&lt;br /&gt;
| perl-XML-Parser&lt;br /&gt;
|-&lt;br /&gt;
| LWP::UserAgent&lt;br /&gt;
| perl-libwww-perl&lt;br /&gt;
| libwww-perl&lt;br /&gt;
| perl-libwww-perl&lt;br /&gt;
|-&lt;br /&gt;
| Digest::SHA&lt;br /&gt;
| perl-Digest-SHA&lt;br /&gt;
| perl&lt;br /&gt;
| perl-Digest-SHA&lt;br /&gt;
|-&lt;br /&gt;
| Digest::MD5&lt;br /&gt;
| perl-Digest-MD5&lt;br /&gt;
| perl&lt;br /&gt;
| perl&lt;br /&gt;
|-&lt;br /&gt;
| LWP::Protocol::https&lt;br /&gt;
| perl-LWP-Protocol-https&lt;br /&gt;
| liblwp-protocol-https-perl&lt;br /&gt;
| perl-LWP-Protocol-https&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
On some rather old systems, &amp;#039;&amp;#039;LWP::Protocol::https&amp;#039;&amp;#039; is installed in the same package as &amp;#039;&amp;#039;LWP::UserAgent&amp;#039;&amp;#039;; in this case, you need to install further dependencies in order to use &amp;#039;&amp;#039;LWP::UserAgent&amp;#039;&amp;#039; with the HTTPS protocol with no errors; on CentOS 5, for example, you need to install the &amp;#039;&amp;#039;Crypt::SSLeay&amp;#039;&amp;#039; module, provided by the &amp;#039;&amp;#039;perl-Crypt-SSLeay&amp;#039;&amp;#039; package.&lt;br /&gt;
&lt;br /&gt;
On Mac OS X, bootstrap may fail to download external dependencies from HTTPS URLs (you may get an error with a message like &amp;quot;Can&amp;#039;t verify SSL peers without knowing which Certificate Authorities to trust&amp;quot;), even if configure found all required modules; in this case, install the &amp;#039;&amp;#039;Mozilla::CA&amp;#039;&amp;#039; module using cpan.&lt;br /&gt;
&lt;br /&gt;
On CentOS, &amp;#039;&amp;#039;perl-Digest-SHA&amp;#039;&amp;#039; might be only provided through the EPEL repository.&lt;br /&gt;
&lt;br /&gt;
The prefered way to install Perl modules is using your system&amp;#039;s package manager; alternatively, and as last resort, Perl modules can be installed from the shell with (you may have to run it with super user/administrator rights)&lt;br /&gt;
    perl -MCPAN -e shell&lt;br /&gt;
If it is executed for the first time then CPAN will ask for configuration. Choose autoconfiguration.&lt;br /&gt;
Eventually the CPAN shell appears accepts commands.  Install missing modules with &lt;br /&gt;
    install &amp;lt;module-name&amp;gt;&lt;br /&gt;
Find more details [https://wiki.openoffice.org/wiki/CPAN_install here].&amp;lt;sup&amp;gt;5&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| CUPS&lt;br /&gt;
| cups headers. Provided by a cups-devel package or a libcups2-devel&lt;br /&gt;
&lt;br /&gt;
note: not for Windows&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| PAM&lt;br /&gt;
| PAM support. Provided by a pam-devel package or a libpam-dev&lt;br /&gt;
&lt;br /&gt;
note: not for Windows&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| Apache Ant &lt;br /&gt;
| [http://ant.apache.org/ Ant 1.9 or later] (see note)&lt;br /&gt;
| --with-ant-home=&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| Archiver&lt;br /&gt;
| zip and unzip - note: for Windows zip and unzip will be installed as part of the cygwin environment.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| gperf&lt;br /&gt;
| [http://www.gnu.org/software/gperf/gperf.html gperf] tool - note: for Windows gperf will be installed as part of the cygwin environment.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| NSS&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;&lt;br /&gt;
| For Windows the MozillaBuild tools&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; are needed to build the NSS module. MozillaBuild tools version 3.0 or newer require a 64-bit Windows. When building on 32-bit Windows it is recommended to use version 2.2.0. They can be obtained [https://ftp.mozilla.org/pub/mozilla/libraries/win32/ here].&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| unowinreg.dll&lt;br /&gt;
| [https://tools.openoffice.org/unowinreg_prebuild/680/ pre-built unowinreg.dll] (see NOTE)&lt;br /&gt;
Required for building the ODK which is included in the build unless disabled. This file is required for non-Windows builds. Without this file, configure will try to set up cross-compiling with windows. &lt;br /&gt;
NOTE: Not for windows. Required on all non-windows platforms. Download by directly saving unowinreg.dll into /main/external/unowinreg from the link provided above, or by using wget:&lt;br /&gt;
    cd $SRC/main &amp;amp;&amp;amp;  wget -O external/unowinreg/unowinreg.dll https://tools.openoffice.org/unowinreg_prebuild/680/unowinreg.dll&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Notes:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
# The NSS module (&amp;quot;Network Security Services&amp;quot;) provides security services needed for e.g. password protection. NSS can be disabled using the configure switch &amp;lt;tt&amp;gt;--disable-nss-module&amp;lt;/tt&amp;gt;.&lt;br /&gt;
# NSS is provided by the Mozilla project. Building it on Windows requires the [https://ftp.mozilla.org/pub/mozilla/libraries/win32/ MozillaBuild tools]. Install it and use the configure switch &amp;lt;tt&amp;gt;--with-mozilla-build&amp;lt;/tt&amp;gt; to tell configure where the tools are installed. For example: &amp;lt;tt&amp;gt;--with-mozilla-build=c:/mozilla-build&amp;lt;/tt&amp;gt;&lt;br /&gt;
# Please note that CPAN is not able to deal with usernames containing spaces. To work around this fact, when CPAN asks you to specify the CPAN build and cache directory, change the default suggestion to /cpan.&lt;br /&gt;
# Apache Ant: Assure a proper ant set-up by downloading and installing ant, in total, from the ant site linked above. If you are a Linux developer, your distro may not have ant setup correctly for building Apache OpenOffice.&lt;br /&gt;
# Use &amp;lt;tt&amp;gt;./configure --help&amp;lt;/tt&amp;gt; to see all possible configuration options&lt;br /&gt;
&lt;br /&gt;
See also the platform specific requirements for&lt;br /&gt;
*[[Documentation/Building_Guide_AOO/Building_on_Windows|Windows]]&lt;br /&gt;
*[[Documentation/Building_Guide_AOO/Building_on_Linux|Linux]]&lt;br /&gt;
*[[Documentation/Building_Guide_AOO/Building_on_MacOsX|MacOSX]]&lt;br /&gt;
&lt;br /&gt;
==Configuration and bootstrapping==&lt;br /&gt;
This is typically done only once after the source code is checked out.  Repeat this after changing your mind about options given to configure.&lt;br /&gt;
&lt;br /&gt;
The call to&lt;br /&gt;
   autoconf&lt;br /&gt;
creates the main/configure script from main/configure.in and some other input files.&lt;br /&gt;
&lt;br /&gt;
The set of options/switches given to configure depends on the platform and your choice of features. To see all configure options for your system, type:&lt;br /&gt;
  configure --help&lt;br /&gt;
&lt;br /&gt;
A typical configuration call starts like this --&lt;br /&gt;
    configure                                                                                         \&lt;br /&gt;
        --with-dmake-url=https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2 \&lt;br /&gt;
        --with-epm-url=https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz       \&lt;br /&gt;
It tells configure where to find the source code of external tools dmake and epm.&lt;br /&gt;
&lt;br /&gt;
By default only source code under [http://www.apache.org/legal/3party.html#category-a category A] licenses is compiled and included.  Besides the Apache License 2.0 this includes for example BSD and MIT/X11 license.  If you want to enable features that rely on third party code under [http://www.apache.org/legal/3party.html#category-b category B] licenses (like MPL, CPL, EPL, etc) then add the option&lt;br /&gt;
        --enable-category-b&lt;br /&gt;
&lt;br /&gt;
For inclusion of externally hosted dictionary extensions add option&lt;br /&gt;
        --enable-bundled-dictionaries&lt;br /&gt;
Note that dictionaries rely on a category B third party library (hunspell). Therefore &amp;lt;code&amp;gt;--enable-category-b&amp;lt;/code&amp;gt; is a prerequisite for &amp;lt;code&amp;gt;--enable-bundled-dictionaries&amp;lt;/code&amp;gt;. Dictionaries have a variety of licenses and are bundled without modification: they are not compiled.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;--with-lang&amp;lt;/code&amp;gt; option will introduce the build of additional language resources. This switch accepts one or more RFC 1766 language tags as arguments, unfortunately not all languages are supported. Check the &amp;lt;code&amp;gt;[http://svn.apache.org/viewvc/openoffice/trunk/main/solenv/inc/langlist.mk?view=markup solenv/inc/langlist.mk]&amp;lt;/code&amp;gt; file for all the currently supported language tags. The environment variable WITH_LANG will then contain the language tags of the additional (en-US will always be build) languages. Example:&lt;br /&gt;
        --with-lang=&amp;quot;de fr&amp;quot;&lt;br /&gt;
enables the build of the localized German and French version.&lt;br /&gt;
&lt;br /&gt;
To build with symbolic generation, add option&lt;br /&gt;
        --enable-symbols&lt;br /&gt;
This would allow you to work with debugging symbols in gdb.&lt;br /&gt;
&lt;br /&gt;
Another useful option for interactive debugging features is dbgutil. Add option,&lt;br /&gt;
        --enable-dbgutil&lt;br /&gt;
for this feature. Also see the Debugging information on this page. &lt;br /&gt;
&lt;br /&gt;
By default the result binaries will be packaged in the default format used by your OS/Distribution. Using &amp;#039;installed&amp;#039; for package format puts OpenOffice into your &amp;#039;&amp;#039;installset&amp;#039;&amp;#039; directory (browse down ../installed/install). This will save you time for testing since you can then directly run OpenOffice from this area. &lt;br /&gt;
&lt;br /&gt;
Add option&lt;br /&gt;
        --with-package-format=&amp;quot;installed&amp;quot;&lt;br /&gt;
&lt;br /&gt;
This will speed up development process since it skipped packaging. In some cases, packaging rips the debugging symbol so this would be necessary for symbolic generation. &amp;#039;&amp;#039;&amp;#039;NOTE:&amp;#039;&amp;#039;&amp;#039; Additional package format options will be ignored with the &amp;quot;installed&amp;quot; option.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can run the rat scan while building with option&lt;br /&gt;
         --with-rat-scan&lt;br /&gt;
[[Documentation/Building_Guide_AOO/Rat_Scan|Here]] you can find details of the rat scan.&lt;br /&gt;
&lt;br /&gt;
Finish this step by running&lt;br /&gt;
    ./bootstrap&lt;br /&gt;
This will build dmake and epm, download missing source code tar balls of external libraries, and download missing external dictionary extensions.&lt;br /&gt;
&lt;br /&gt;
==Building==&lt;br /&gt;
Start by including the environment variables prepared by configure into your current environment with&lt;br /&gt;
   &amp;lt;tt&amp;gt;source &amp;lt;shell-script-name&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
where &amp;lt;shell-script-name&amp;gt; depends on your platform:&lt;br /&gt;
{| class=&amp;quot;prettytable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!platform id&lt;br /&gt;
!&amp;lt;shell-script-name&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| wntmsci12&lt;br /&gt;
| winenv.set.sh&lt;br /&gt;
|-&lt;br /&gt;
| unxlngi6&lt;br /&gt;
| LinuxX86Env.Set.sh&lt;br /&gt;
|-&lt;br /&gt;
| unxlngx6&lt;br /&gt;
| LinuxX86-64Env.Set.sh&lt;br /&gt;
|-&lt;br /&gt;
| unxmacci&lt;br /&gt;
| MacOSXX64Env.Set.sh&lt;br /&gt;
|}&lt;br /&gt;
Look into main/set_soenv for more platforms. (search for lines &amp;lt;code&amp;gt;$OUTPATH = &amp;quot;&amp;lt;platform&amp;gt;&amp;quot;;&amp;lt;/code&amp;gt; and the nearby line &amp;lt;code&amp;gt;$outfile = &amp;quot;&amp;lt;shell-script-name&amp;gt;&amp;quot;;&amp;lt;/code&amp;gt;.  Add the suffix &amp;lt;code&amp;gt;.sh&amp;lt;/code&amp;gt; for the bash variant.&lt;br /&gt;
&lt;br /&gt;
If you want to build the whole office and the install sets then&lt;br /&gt;
    cd main/instsetoo_native&lt;br /&gt;
    build --all&lt;br /&gt;
You may want to experiment with the -P options for multi process builds to reduce the build time.&lt;br /&gt;
    build --all -P&amp;lt;m&amp;gt; -- -P&amp;lt;n&amp;gt;&lt;br /&gt;
tells build to use &amp;lt;code&amp;gt;m&amp;lt;/code&amp;gt; processes (build up to &amp;lt;code&amp;gt;m&amp;lt;/code&amp;gt; modules in parallel) and &amp;lt;code&amp;gt;n&amp;lt;/code&amp;gt; threads for each module.&lt;br /&gt;
&lt;br /&gt;
Details about creating installation sets can be found [[Building_installation_packages|here]].&lt;br /&gt;
&lt;br /&gt;
Building Apache OpenOffice uses a custom build command, build.pl, located in /main/solenv/bin.&lt;br /&gt;
You may find it helpful to learn more about build options from the [http://www.openoffice.org/tools/tools/build.html Build Documentation]&lt;br /&gt;
&lt;br /&gt;
==Partial Builds==&lt;br /&gt;
&lt;br /&gt;
Building the whole office takes a lot of time.  Therefore it may be preferable to build only parts after making changes to the source code.&lt;br /&gt;
There are two different types of partial builds:&lt;br /&gt;
;Compatible:Can be used only when the code changes do not change exported interfaces. Use with care and only when you know what you are doing.&lt;br /&gt;
;Incompatible:Use for code changes that modify exported C++ or IDL interfaces, that modify resources that are used by other modules, or when you are not sure.&lt;br /&gt;
:If you are a new developer, you should probably always assume your changes are &amp;quot;incompatible&amp;quot; and follow the instructions for &amp;#039;&amp;#039;&amp;#039;Incompatible Build&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
===Make Systems Used by Apache OpenOffice===&lt;br /&gt;
&lt;br /&gt;
For the following Build sections you should be aware that Apache OpenOffice uses two different &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039; systems to build its modules.&lt;br /&gt;
*The older one is based on dmake&lt;br /&gt;
*The other and newer one is based on GNU make.  This system is often referred to as gbuild.&lt;br /&gt;
When a module contains, among others, a Makefile and a Module_&amp;lt;module&amp;gt;.mk file then it is a gbuild module.&lt;br /&gt;
&lt;br /&gt;
===Compatible Build===&lt;br /&gt;
&lt;br /&gt;
After changing code in module &amp;lt;module&amp;gt; which does not change any exported interfaces do&lt;br /&gt;
{|class=&amp;quot;prettytable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!dmake&lt;br /&gt;
!gbuild&lt;br /&gt;
|-&lt;br /&gt;
|  &lt;br /&gt;
    cd &amp;lt;module&amp;gt;&lt;br /&gt;
    build&lt;br /&gt;
    deliver&lt;br /&gt;
|&lt;br /&gt;
    cd &amp;lt;module&amp;gt;&lt;br /&gt;
    make -sr&lt;br /&gt;
No explicit call to &amp;lt;code&amp;gt;deliver&amp;lt;/code&amp;gt; is necessary for gbuild modules.&lt;br /&gt;
|}&lt;br /&gt;
to compile and deliver the resulting libraries to &amp;lt;code&amp;gt;main/solver/&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
You may want to erase the output of a previous compilation. In some cases a new compilation will not work correctly unless the old output is removed.&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;prettytable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!dmake&lt;br /&gt;
!gbuild&lt;br /&gt;
|-&lt;br /&gt;
|  &lt;br /&gt;
    cd &amp;lt;module&amp;gt;&lt;br /&gt;
    build --from &amp;lt;module&amp;gt; --prepare&lt;br /&gt;
or faster (but without the un-deliver)&lt;br /&gt;
    cd &amp;lt;module&amp;gt;&lt;br /&gt;
    rm -fr &amp;lt;platform&amp;gt;/&lt;br /&gt;
| &lt;br /&gt;
    cd &amp;lt;module&amp;gt;&lt;br /&gt;
    make clean&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Incompatible Build===&lt;br /&gt;
&lt;br /&gt;
Modifications that change exported interfaces require not only the module to be rebuild that contains the modified code.  All depending modules (dependencies are defined in &amp;lt;code&amp;gt;&amp;lt;module&amp;gt;/prj/build.lst&amp;lt;/code&amp;gt;) have to be rebuild as well.  This is best done from &amp;lt;code&amp;gt;main/instsetoo_native/&amp;lt;/code&amp;gt;:&lt;br /&gt;
  &amp;lt;tt&amp;gt;cd main/instsetoo_native/&amp;lt;/tt&amp;gt;&lt;br /&gt;
  &amp;lt;tt&amp;gt;build --from &amp;lt;incompatible-module&amp;gt; --prepare&amp;lt;/tt&amp;gt;&lt;br /&gt;
  &amp;lt;tt&amp;gt;build --from &amp;lt;incompatible-module&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The second line removes the output of all modules that have to be recompiled. The drawback of this command is that the output of modules which are build via gbuild are not removed. Thus, the following additional command performed after the second one will do the trick:&lt;br /&gt;
  build --from &amp;lt;incompatible-module&amp;gt; --job=&amp;quot;make clean; make clean debug=t&amp;quot; --ignore&lt;br /&gt;
&lt;br /&gt;
===Frequently used options===&lt;br /&gt;
&lt;br /&gt;
In order to add debug information to libraries and executables, add the &amp;lt;code&amp;gt;debug&amp;lt;/code&amp;gt; switch to any &amp;lt;code&amp;gt;build&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt; command:&lt;br /&gt;
{|class=&amp;quot;prettytable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!dmake&lt;br /&gt;
!gbuild&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
    cd &amp;lt;module&amp;gt;&lt;br /&gt;
    build debug=t&lt;br /&gt;
|&lt;br /&gt;
    cd &amp;lt;module&amp;gt;&lt;br /&gt;
    make -sr debug=t&lt;br /&gt;
|}&lt;br /&gt;
Remember that for the gbuild system you have to use the debug flag also when cleaning a module (otherwise eg the wrong precompiled headers are deleted and are not rebuilt):&lt;br /&gt;
    make clean debug=t&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can force make to rebuild dependency information by first deleting it with the depend option.  It would be rebuilt automatically with the next build:&lt;br /&gt;
{|class=&amp;quot;prettytable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!dmake&lt;br /&gt;
!gbuild&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
    cd &amp;lt;module&amp;gt;&lt;br /&gt;
    build depend=t&lt;br /&gt;
    build&lt;br /&gt;
|&lt;br /&gt;
    cd &amp;lt;module&amp;gt;&lt;br /&gt;
    make -sr depend=t&lt;br /&gt;
    make -sr&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Build Cleanup==&lt;br /&gt;
In the event that you want to change configuration parameters used for building, you will probably need to &amp;quot;clean&amp;quot; your build output tree before starting again.&lt;br /&gt;
&lt;br /&gt;
To do this, navigate to the &amp;quot;main&amp;quot; directory, then source your environment shell script as you did for building:&lt;br /&gt;
&lt;br /&gt;
     &amp;lt;tt&amp;gt;source &amp;lt;shell-script-name&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
then do:&lt;br /&gt;
&lt;br /&gt;
     dmake clean&lt;br /&gt;
&lt;br /&gt;
= [[Documentation/Building Guide AOO/Step by step|Step-by-Step Building Guide for Different Platforms]] =&lt;br /&gt;
&lt;br /&gt;
= Building Apache OpenOffice with an IDE =&lt;br /&gt;
== [[OpenOffice and Eclipse|Building with Eclipse]] ==&lt;br /&gt;
&lt;br /&gt;
= Additional Build Resources =&lt;br /&gt;
[[Building old versions|Building old versions]]&lt;br /&gt;
== [[Debugging|Debugging]] ==&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:Porting]]&lt;br /&gt;
[[Category:Build_System]]&lt;/div&gt;</summary>
		<author><name>Mechtilde</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Documentation/Building_Guide_AOO&amp;diff=245574</id>
		<title>Documentation/Building Guide AOO</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Documentation/Building_Guide_AOO&amp;diff=245574"/>
		<updated>2019-08-04T16:55:02Z</updated>

		<summary type="html">&lt;p&gt;Mechtilde: /* Preface */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:Apache OpenOffice Building Guide}}&lt;br /&gt;
&lt;br /&gt;
= Preface =&lt;br /&gt;
This guide will help you to build Apache OpenOffice from its source code.  It details the prerequisites and explains how to download the source code, prepare and then run the build. [[Documentation/Building_Guide_AOO/Step_by_step|Step-by-step instructions]] for resolving the pre-requisites of individual platforms and building on them are available.&lt;br /&gt;
  &lt;br /&gt;
Here is the short version for the brave and impatient:&lt;br /&gt;
# Download the source:  &amp;lt;code&amp;gt;svn co https://svn.apache.org/repos/asf/openoffice/trunk aoo&amp;lt;/code&amp;gt;&lt;br /&gt;
# since 2019-08-03 &amp;lt;code&amp;gt;git clone https://gitbox.apache.org/repos/asf/openoffice.git&amp;lt;/code&amp;gt;&lt;br /&gt;
# Configure: &amp;lt;code&amp;gt;cd main/ ; autoconf ; ./configure &amp;lt;some-switches&amp;gt; ; ./bootstrap&amp;lt;/code&amp;gt;&lt;br /&gt;
# Build: &amp;lt;code&amp;gt;source &amp;lt;platform-dependend-name&amp;gt;.sh ; cd instsetoo_native ; build --all&amp;lt;/code&amp;gt;&lt;br /&gt;
# Wait for an hour or more (The build can take up to 3 hours.)&lt;br /&gt;
# Enjoy&lt;br /&gt;
&lt;br /&gt;
The detailed description below gives a broader introduction into the build process and explains for the various steps.&lt;br /&gt;
 &lt;br /&gt;
{{Note|This document is loosely based on an older [[Documentation/Building Guide|version]].  I have tried to avoid duplication and to move anything that all platforms have in common to this page.  Many details have been removed on purpose because they refer to older version of OpenOffice.}}&lt;br /&gt;
* How to use cache&lt;br /&gt;
&lt;br /&gt;
{{SeeAlso|EN|*[[How_to_build_Symphony%27s_source_code]] }}&lt;br /&gt;
&lt;br /&gt;
= Getting help =&lt;br /&gt;
You can get help by searching this wiki or by asking questions on the [http://openoffice.apache.org/mailing-lists.html#development-mailing-list-public developers mailing list].&lt;br /&gt;
&lt;br /&gt;
You can help us improve this guide by pointing out any errors (preferably after finding a solution).&lt;br /&gt;
Or don&amp;#039;t be shy and edit (and improve) these pages yourself.&lt;br /&gt;
&lt;br /&gt;
= Basics =&lt;br /&gt;
&lt;br /&gt;
In order to build Apache OpenOffice you need a proper environment.  This includes&lt;br /&gt;
* a command line interpreter, typically bourne shell compatible (sh or bash) inside a terminal. On Windows you will need to install Cygwin to provide it.&lt;br /&gt;
* C++ compiler and linker.  The exact choice depends on the operating system.&lt;br /&gt;
* Perl interpreter and several modules.&lt;br /&gt;
* Many tools from the Unix world like make or sed.&lt;br /&gt;
&lt;br /&gt;
See section [[#General_Build_Requirements | General Build Requirements]]&lt;br /&gt;
for an exact list of requirements.&lt;br /&gt;
&lt;br /&gt;
= Getting the source =&lt;br /&gt;
&lt;br /&gt;
The source code is available as SVN repository at https://svn.apache.org/repos/asf/openoffice&lt;br /&gt;
&lt;br /&gt;
Check it out with&lt;br /&gt;
&lt;br /&gt;
   svn co https://svn.apache.org/repos/asf/openoffice/trunk aoo&lt;br /&gt;
&lt;br /&gt;
More details about how to check out source code from SVN can be found [http://openoffice.apache.org/source.html here].&lt;br /&gt;
&lt;br /&gt;
== Space Requirements ==&lt;br /&gt;
&lt;br /&gt;
The checked out files take up somewhat over 5GB on disk (more than 150000 files in more than 7000 folders and the SVN overhead). &lt;br /&gt;
&lt;br /&gt;
After building this becomes (on Windows7) almost 17GB (more than 406000 files in more than 23000 folders).&lt;br /&gt;
&lt;br /&gt;
You can use git as well. There exists no guide for this, therefore ask on dev@openoffice.apache.org, if you want to use git.&lt;br /&gt;
&lt;br /&gt;
= Organization of the source and output tree =&lt;br /&gt;
&lt;br /&gt;
The source code has five top level directories:&lt;br /&gt;
;main/:contains most of the so called modules.  Each module typically provides one or more libraries. The source code of the writer application for example can be found in &amp;lt;code&amp;gt;main/sw/&amp;lt;/code&amp;gt;. More information on the organization of the modules in the source code directories [[Source_code_directories | here]].&lt;br /&gt;
;test/:contains the new [[QA/test_automation_guide | automated testing framework]]&lt;br /&gt;
;ext_libraries/:is the new home of modules that build external libraries (libraries maintained outside of Apache OpenOffice and often outside Apache).&lt;br /&gt;
;ext_sources/:contains the tar balls (archives) of external libraries.  They are included both for convenience and to make sure that specific versions remain available.  Note that the source package of the Apache OpenOffice release does not contain any external tar balls. &lt;br /&gt;
;extras/:holds the localization data.&lt;br /&gt;
&lt;br /&gt;
Most tools and scripts that are used for building are located below &amp;lt;code&amp;gt;main/solenv/&amp;lt;/code&amp;gt;:&lt;br /&gt;
*dmake makefiles in &amp;lt;code&amp;gt;main/solenv/inc/&amp;lt;/code&amp;gt;&lt;br /&gt;
*gmake makefiles in &amp;lt;code&amp;gt;main/solenv/gbuild/&amp;lt;/code&amp;gt;&lt;br /&gt;
*executables and perl files in &amp;lt;code&amp;gt;main/solenv/bin/&amp;lt;/code&amp;gt;&lt;br /&gt;
*perl modules in &amp;lt;code&amp;gt;main/bin/modules/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Libraries and other output files that are shared between modules are stored in &amp;lt;code&amp;gt;main/solver/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=Building=&lt;br /&gt;
&lt;br /&gt;
==Overview==&lt;br /&gt;
&lt;br /&gt;
Building Apache OpenOffice consists of three steps:&lt;br /&gt;
;Configuring/bootstrapping:Detect platform, operating system, compiler, etc. and write the information into a shell script for later use.  The developer can turn on or off certain features in this phase.&lt;br /&gt;
;Building:Compile the source code, transform other input files, apply localization.&lt;br /&gt;
;Packing:Create a set of files, the installation set, that can be installed on the respective operating system.  This can be msi/cab files for windows, deb or rpm for Linux, dmg for Mac.&lt;br /&gt;
&lt;br /&gt;
The configure step has to be carried out only once.  Building and packing is necessary after every source code change.  There are short cuts to avoid parts of these steps (when you know what you are doing.)&lt;br /&gt;
&lt;br /&gt;
The building examples in this wiki document use only command line approaches to building. Depending on your expertise, it may be possible to use an IDE which allows specification of custom build scripts. &lt;br /&gt;
&lt;br /&gt;
== General Build Requirements ==&lt;br /&gt;
&lt;br /&gt;
The general requirements for all platforms are&lt;br /&gt;
{| class=&amp;quot;prettytable&amp;quot;&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
! Requirement&lt;br /&gt;
! Description&lt;br /&gt;
! Configure switch&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| Java JDK&lt;br /&gt;
| Java Implementation compatible with [http://www.oracle.com/technetwork/java/javase/downloads/jre7-downloads-1880261.html JDK 1.7] or  higher. [http://openjdk.java.net/ OpenJDK] is supported as well.&lt;br /&gt;
For Windows [http://www.oracle.com/technetwork/java/javase/downloads/index.html/ JDK 1.7] or JDK 1.8 is recommended.&lt;br /&gt;
The JDK&amp;#039;s bitness must match the target platform&amp;#039;s, eg. when building for Win32, use a 32 bit JDK even if compiling on Win64.&lt;br /&gt;
| --with-jdk-home=&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| Perl&lt;br /&gt;
| Perl 5 - note: for Windows Perl will be installed as part of the cygwin environment.&lt;br /&gt;
&lt;br /&gt;
Also required are the perl packages&lt;br /&gt;
&lt;br /&gt;
* Archive::Zip&lt;br /&gt;
* XML::Parser&lt;br /&gt;
* LWP::UserAgent&lt;br /&gt;
* Digest::SHA&lt;br /&gt;
* Digest::MD5&lt;br /&gt;
* LWP::Protocol::https&lt;br /&gt;
&lt;br /&gt;
On Linux, use whenever possible your package manager to install the required modules. On Windows, use cygwin&amp;#039;s setup-x86.exe or setup-x86_64.exe.&lt;br /&gt;
&lt;br /&gt;
The name of packages varies depending on the system:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Perl Module &lt;br /&gt;
! CentOS/Fedora&lt;br /&gt;
! Debian/Ubuntu&lt;br /&gt;
! Windows/cygwin&lt;br /&gt;
|-&lt;br /&gt;
| Archive::Zip&lt;br /&gt;
| perl-Archive-Zip&lt;br /&gt;
| libarchive-zip-perl&lt;br /&gt;
| perl-Archive-Zip&lt;br /&gt;
|-&lt;br /&gt;
| XML::Parser&lt;br /&gt;
| perl-XML-Parser&lt;br /&gt;
| libxml-parser-perl&lt;br /&gt;
| perl-XML-Parser&lt;br /&gt;
|-&lt;br /&gt;
| LWP::UserAgent&lt;br /&gt;
| perl-libwww-perl&lt;br /&gt;
| libwww-perl&lt;br /&gt;
| perl-libwww-perl&lt;br /&gt;
|-&lt;br /&gt;
| Digest::SHA&lt;br /&gt;
| perl-Digest-SHA&lt;br /&gt;
| perl&lt;br /&gt;
| perl-Digest-SHA&lt;br /&gt;
|-&lt;br /&gt;
| Digest::MD5&lt;br /&gt;
| perl-Digest-MD5&lt;br /&gt;
| perl&lt;br /&gt;
| perl&lt;br /&gt;
|-&lt;br /&gt;
| LWP::Protocol::https&lt;br /&gt;
| perl-LWP-Protocol-https&lt;br /&gt;
| liblwp-protocol-https-perl&lt;br /&gt;
| perl-LWP-Protocol-https&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
On some rather old systems, &amp;#039;&amp;#039;LWP::Protocol::https&amp;#039;&amp;#039; is installed in the same package as &amp;#039;&amp;#039;LWP::UserAgent&amp;#039;&amp;#039;; in this case, you need to install further dependencies in order to use &amp;#039;&amp;#039;LWP::UserAgent&amp;#039;&amp;#039; with the HTTPS protocol with no errors; on CentOS 5, for example, you need to install the &amp;#039;&amp;#039;Crypt::SSLeay&amp;#039;&amp;#039; module, provided by the &amp;#039;&amp;#039;perl-Crypt-SSLeay&amp;#039;&amp;#039; package.&lt;br /&gt;
&lt;br /&gt;
On Mac OS X, bootstrap may fail to download external dependencies from HTTPS URLs (you may get an error with a message like &amp;quot;Can&amp;#039;t verify SSL peers without knowing which Certificate Authorities to trust&amp;quot;), even if configure found all required modules; in this case, install the &amp;#039;&amp;#039;Mozilla::CA&amp;#039;&amp;#039; module using cpan.&lt;br /&gt;
&lt;br /&gt;
On CentOS, &amp;#039;&amp;#039;perl-Digest-SHA&amp;#039;&amp;#039; might be only provided through the EPEL repository.&lt;br /&gt;
&lt;br /&gt;
The prefered way to install Perl modules is using your system&amp;#039;s package manager; alternatively, and as last resort, Perl modules can be installed from the shell with (you may have to run it with super user/administrator rights)&lt;br /&gt;
    perl -MCPAN -e shell&lt;br /&gt;
If it is executed for the first time then CPAN will ask for configuration. Choose autoconfiguration.&lt;br /&gt;
Eventually the CPAN shell appears accepts commands.  Install missing modules with &lt;br /&gt;
    install &amp;lt;module-name&amp;gt;&lt;br /&gt;
Find more details [https://wiki.openoffice.org/wiki/CPAN_install here].&amp;lt;sup&amp;gt;5&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| CUPS&lt;br /&gt;
| cups headers. Provided by a cups-devel package or a libcups2-devel&lt;br /&gt;
&lt;br /&gt;
note: not for Windows&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| PAM&lt;br /&gt;
| PAM support. Provided by a pam-devel package or a libpam-dev&lt;br /&gt;
&lt;br /&gt;
note: not for Windows&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| Apache Ant &lt;br /&gt;
| [http://ant.apache.org/ Ant 1.9 or later] (see note)&lt;br /&gt;
| --with-ant-home=&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| Archiver&lt;br /&gt;
| zip and unzip - note: for Windows zip and unzip will be installed as part of the cygwin environment.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| gperf&lt;br /&gt;
| [http://www.gnu.org/software/gperf/gperf.html gperf] tool - note: for Windows gperf will be installed as part of the cygwin environment.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| NSS&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;&lt;br /&gt;
| For Windows the MozillaBuild tools&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; are needed to build the NSS module. MozillaBuild tools version 3.0 or newer require a 64-bit Windows. When building on 32-bit Windows it is recommended to use version 2.2.0. They can be obtained [https://ftp.mozilla.org/pub/mozilla/libraries/win32/ here].&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| unowinreg.dll&lt;br /&gt;
| [https://tools.openoffice.org/unowinreg_prebuild/680/ pre-built unowinreg.dll] (see NOTE)&lt;br /&gt;
Required for building the ODK which is included in the build unless disabled. This file is required for non-Windows builds. Without this file, configure will try to set up cross-compiling with windows. &lt;br /&gt;
NOTE: Not for windows. Required on all non-windows platforms. Download by directly saving unowinreg.dll into /main/external/unowinreg from the link provided above, or by using wget:&lt;br /&gt;
    cd $SRC/main &amp;amp;&amp;amp;  wget -O external/unowinreg/unowinreg.dll https://tools.openoffice.org/unowinreg_prebuild/680/unowinreg.dll&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Notes:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
# The NSS module (&amp;quot;Network Security Services&amp;quot;) provides security services needed for e.g. password protection. NSS can be disabled using the configure switch &amp;lt;tt&amp;gt;--disable-nss-module&amp;lt;/tt&amp;gt;.&lt;br /&gt;
# NSS is provided by the Mozilla project. Building it on Windows requires the [https://ftp.mozilla.org/pub/mozilla/libraries/win32/ MozillaBuild tools]. Install it and use the configure switch &amp;lt;tt&amp;gt;--with-mozilla-build&amp;lt;/tt&amp;gt; to tell configure where the tools are installed. For example: &amp;lt;tt&amp;gt;--with-mozilla-build=c:/mozilla-build&amp;lt;/tt&amp;gt;&lt;br /&gt;
# Please note that CPAN is not able to deal with usernames containing spaces. To work around this fact, when CPAN asks you to specify the CPAN build and cache directory, change the default suggestion to /cpan.&lt;br /&gt;
# Apache Ant: Assure a proper ant set-up by downloading and installing ant, in total, from the ant site linked above. If you are a Linux developer, your distro may not have ant setup correctly for building Apache OpenOffice.&lt;br /&gt;
# Use &amp;lt;tt&amp;gt;./configure --help&amp;lt;/tt&amp;gt; to see all possible configuration options&lt;br /&gt;
&lt;br /&gt;
See also the platform specific requirements for&lt;br /&gt;
*[[Documentation/Building_Guide_AOO/Building_on_Windows|Windows]]&lt;br /&gt;
*[[Documentation/Building_Guide_AOO/Building_on_Linux|Linux]]&lt;br /&gt;
*[[Documentation/Building_Guide_AOO/Building_on_MacOsX|MacOSX]]&lt;br /&gt;
&lt;br /&gt;
==Configuration and bootstrapping==&lt;br /&gt;
This is typically done only once after the source code is checked out.  Repeat this after changing your mind about options given to configure.&lt;br /&gt;
&lt;br /&gt;
The call to&lt;br /&gt;
   autoconf&lt;br /&gt;
creates the main/configure script from main/configure.in and some other input files.&lt;br /&gt;
&lt;br /&gt;
The set of options/switches given to configure depends on the platform and your choice of features. To see all configure options for your system, type:&lt;br /&gt;
  configure --help&lt;br /&gt;
&lt;br /&gt;
A typical configuration call starts like this --&lt;br /&gt;
    configure                                                                                         \&lt;br /&gt;
        --with-dmake-url=https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2 \&lt;br /&gt;
        --with-epm-url=https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz       \&lt;br /&gt;
It tells configure where to find the source code of external tools dmake and epm.&lt;br /&gt;
&lt;br /&gt;
By default only source code under [http://www.apache.org/legal/3party.html#category-a category A] licenses is compiled and included.  Besides the Apache License 2.0 this includes for example BSD and MIT/X11 license.  If you want to enable features that rely on third party code under [http://www.apache.org/legal/3party.html#category-b category B] licenses (like MPL, CPL, EPL, etc) then add the option&lt;br /&gt;
        --enable-category-b&lt;br /&gt;
&lt;br /&gt;
For inclusion of externally hosted dictionary extensions add option&lt;br /&gt;
        --enable-bundled-dictionaries&lt;br /&gt;
Note that dictionaries rely on a category B third party library (hunspell). Therefore &amp;lt;code&amp;gt;--enable-category-b&amp;lt;/code&amp;gt; is a prerequisite for &amp;lt;code&amp;gt;--enable-bundled-dictionaries&amp;lt;/code&amp;gt;. Dictionaries have a variety of licenses and are bundled without modification: they are not compiled.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;--with-lang&amp;lt;/code&amp;gt; option will introduce the build of additional language resources. This switch accepts one or more RFC 1766 language tags as arguments, unfortunately not all languages are supported. Check the &amp;lt;code&amp;gt;[http://svn.apache.org/viewvc/openoffice/trunk/main/solenv/inc/langlist.mk?view=markup solenv/inc/langlist.mk]&amp;lt;/code&amp;gt; file for all the currently supported language tags. The environment variable WITH_LANG will then contain the language tags of the additional (en-US will always be build) languages. Example:&lt;br /&gt;
        --with-lang=&amp;quot;de fr&amp;quot;&lt;br /&gt;
enables the build of the localized German and French version.&lt;br /&gt;
&lt;br /&gt;
To build with symbolic generation, add option&lt;br /&gt;
        --enable-symbols&lt;br /&gt;
This would allow you to work with debugging symbols in gdb.&lt;br /&gt;
&lt;br /&gt;
Another useful option for interactive debugging features is dbgutil. Add option,&lt;br /&gt;
        --enable-dbgutil&lt;br /&gt;
for this feature. Also see the Debugging information on this page. &lt;br /&gt;
&lt;br /&gt;
By default the result binaries will be packaged in the default format used by your OS/Distribution. Using &amp;#039;installed&amp;#039; for package format puts OpenOffice into your &amp;#039;&amp;#039;installset&amp;#039;&amp;#039; directory (browse down ../installed/install). This will save you time for testing since you can then directly run OpenOffice from this area. &lt;br /&gt;
&lt;br /&gt;
Add option&lt;br /&gt;
        --with-package-format=&amp;quot;installed&amp;quot;&lt;br /&gt;
&lt;br /&gt;
This will speed up development process since it skipped packaging. In some cases, packaging rips the debugging symbol so this would be necessary for symbolic generation. &amp;#039;&amp;#039;&amp;#039;NOTE:&amp;#039;&amp;#039;&amp;#039; Additional package format options will be ignored with the &amp;quot;installed&amp;quot; option.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can run the rat scan while building with option&lt;br /&gt;
         --with-rat-scan&lt;br /&gt;
[[Documentation/Building_Guide_AOO/Rat_Scan|Here]] you can find details of the rat scan.&lt;br /&gt;
&lt;br /&gt;
Finish this step by running&lt;br /&gt;
    ./bootstrap&lt;br /&gt;
This will build dmake and epm, download missing source code tar balls of external libraries, and download missing external dictionary extensions.&lt;br /&gt;
&lt;br /&gt;
==Building==&lt;br /&gt;
Start by including the environment variables prepared by configure into your current environment with&lt;br /&gt;
   &amp;lt;tt&amp;gt;source &amp;lt;shell-script-name&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
where &amp;lt;shell-script-name&amp;gt; depends on your platform:&lt;br /&gt;
{| class=&amp;quot;prettytable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!platform id&lt;br /&gt;
!&amp;lt;shell-script-name&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| wntmsci12&lt;br /&gt;
| winenv.set.sh&lt;br /&gt;
|-&lt;br /&gt;
| unxlngi6&lt;br /&gt;
| LinuxX86Env.Set.sh&lt;br /&gt;
|-&lt;br /&gt;
| unxlngx6&lt;br /&gt;
| LinuxX86-64Env.Set.sh&lt;br /&gt;
|-&lt;br /&gt;
| unxmacci&lt;br /&gt;
| MacOSXX64Env.Set.sh&lt;br /&gt;
|}&lt;br /&gt;
Look into main/set_soenv for more platforms. (search for lines &amp;lt;code&amp;gt;$OUTPATH = &amp;quot;&amp;lt;platform&amp;gt;&amp;quot;;&amp;lt;/code&amp;gt; and the nearby line &amp;lt;code&amp;gt;$outfile = &amp;quot;&amp;lt;shell-script-name&amp;gt;&amp;quot;;&amp;lt;/code&amp;gt;.  Add the suffix &amp;lt;code&amp;gt;.sh&amp;lt;/code&amp;gt; for the bash variant.&lt;br /&gt;
&lt;br /&gt;
If you want to build the whole office and the install sets then&lt;br /&gt;
    cd main/instsetoo_native&lt;br /&gt;
    build --all&lt;br /&gt;
You may want to experiment with the -P options for multi process builds to reduce the build time.&lt;br /&gt;
    build --all -P&amp;lt;m&amp;gt; -- -P&amp;lt;n&amp;gt;&lt;br /&gt;
tells build to use &amp;lt;code&amp;gt;m&amp;lt;/code&amp;gt; processes (build up to &amp;lt;code&amp;gt;m&amp;lt;/code&amp;gt; modules in parallel) and &amp;lt;code&amp;gt;n&amp;lt;/code&amp;gt; threads for each module.&lt;br /&gt;
&lt;br /&gt;
Details about creating installation sets can be found [[Building_installation_packages|here]].&lt;br /&gt;
&lt;br /&gt;
Building Apache OpenOffice uses a custom build command, build.pl, located in /main/solenv/bin.&lt;br /&gt;
You may find it helpful to learn more about build options from the [http://www.openoffice.org/tools/tools/build.html Build Documentation]&lt;br /&gt;
&lt;br /&gt;
==Partial Builds==&lt;br /&gt;
&lt;br /&gt;
Building the whole office takes a lot of time.  Therefore it may be preferable to build only parts after making changes to the source code.&lt;br /&gt;
There are two different types of partial builds:&lt;br /&gt;
;Compatible:Can be used only when the code changes do not change exported interfaces. Use with care and only when you know what you are doing.&lt;br /&gt;
;Incompatible:Use for code changes that modify exported C++ or IDL interfaces, that modify resources that are used by other modules, or when you are not sure.&lt;br /&gt;
:If you are a new developer, you should probably always assume your changes are &amp;quot;incompatible&amp;quot; and follow the instructions for &amp;#039;&amp;#039;&amp;#039;Incompatible Build&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
===Make Systems Used by Apache OpenOffice===&lt;br /&gt;
&lt;br /&gt;
For the following Build sections you should be aware that Apache OpenOffice uses two different &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039; systems to build its modules.&lt;br /&gt;
*The older one is based on dmake&lt;br /&gt;
*The other and newer one is based on GNU make.  This system is often referred to as gbuild.&lt;br /&gt;
When a module contains, among others, a Makefile and a Module_&amp;lt;module&amp;gt;.mk file then it is a gbuild module.&lt;br /&gt;
&lt;br /&gt;
===Compatible Build===&lt;br /&gt;
&lt;br /&gt;
After changing code in module &amp;lt;module&amp;gt; which does not change any exported interfaces do&lt;br /&gt;
{|class=&amp;quot;prettytable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!dmake&lt;br /&gt;
!gbuild&lt;br /&gt;
|-&lt;br /&gt;
|  &lt;br /&gt;
    cd &amp;lt;module&amp;gt;&lt;br /&gt;
    build&lt;br /&gt;
    deliver&lt;br /&gt;
|&lt;br /&gt;
    cd &amp;lt;module&amp;gt;&lt;br /&gt;
    make -sr&lt;br /&gt;
No explicit call to &amp;lt;code&amp;gt;deliver&amp;lt;/code&amp;gt; is necessary for gbuild modules.&lt;br /&gt;
|}&lt;br /&gt;
to compile and deliver the resulting libraries to &amp;lt;code&amp;gt;main/solver/&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
You may want to erase the output of a previous compilation. In some cases a new compilation will not work correctly unless the old output is removed.&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;prettytable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!dmake&lt;br /&gt;
!gbuild&lt;br /&gt;
|-&lt;br /&gt;
|  &lt;br /&gt;
    cd &amp;lt;module&amp;gt;&lt;br /&gt;
    build --from &amp;lt;module&amp;gt; --prepare&lt;br /&gt;
or faster (but without the un-deliver)&lt;br /&gt;
    cd &amp;lt;module&amp;gt;&lt;br /&gt;
    rm -fr &amp;lt;platform&amp;gt;/&lt;br /&gt;
| &lt;br /&gt;
    cd &amp;lt;module&amp;gt;&lt;br /&gt;
    make clean&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Incompatible Build===&lt;br /&gt;
&lt;br /&gt;
Modifications that change exported interfaces require not only the module to be rebuild that contains the modified code.  All depending modules (dependencies are defined in &amp;lt;code&amp;gt;&amp;lt;module&amp;gt;/prj/build.lst&amp;lt;/code&amp;gt;) have to be rebuild as well.  This is best done from &amp;lt;code&amp;gt;main/instsetoo_native/&amp;lt;/code&amp;gt;:&lt;br /&gt;
  &amp;lt;tt&amp;gt;cd main/instsetoo_native/&amp;lt;/tt&amp;gt;&lt;br /&gt;
  &amp;lt;tt&amp;gt;build --from &amp;lt;incompatible-module&amp;gt; --prepare&amp;lt;/tt&amp;gt;&lt;br /&gt;
  &amp;lt;tt&amp;gt;build --from &amp;lt;incompatible-module&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The second line removes the output of all modules that have to be recompiled. The drawback of this command is that the output of modules which are build via gbuild are not removed. Thus, the following additional command performed after the second one will do the trick:&lt;br /&gt;
  build --from &amp;lt;incompatible-module&amp;gt; --job=&amp;quot;make clean; make clean debug=t&amp;quot; --ignore&lt;br /&gt;
&lt;br /&gt;
===Frequently used options===&lt;br /&gt;
&lt;br /&gt;
In order to add debug information to libraries and executables, add the &amp;lt;code&amp;gt;debug&amp;lt;/code&amp;gt; switch to any &amp;lt;code&amp;gt;build&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt; command:&lt;br /&gt;
{|class=&amp;quot;prettytable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!dmake&lt;br /&gt;
!gbuild&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
    cd &amp;lt;module&amp;gt;&lt;br /&gt;
    build debug=t&lt;br /&gt;
|&lt;br /&gt;
    cd &amp;lt;module&amp;gt;&lt;br /&gt;
    make -sr debug=t&lt;br /&gt;
|}&lt;br /&gt;
Remember that for the gbuild system you have to use the debug flag also when cleaning a module (otherwise eg the wrong precompiled headers are deleted and are not rebuilt):&lt;br /&gt;
    make clean debug=t&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can force make to rebuild dependency information by first deleting it with the depend option.  It would be rebuilt automatically with the next build:&lt;br /&gt;
{|class=&amp;quot;prettytable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!dmake&lt;br /&gt;
!gbuild&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
    cd &amp;lt;module&amp;gt;&lt;br /&gt;
    build depend=t&lt;br /&gt;
    build&lt;br /&gt;
|&lt;br /&gt;
    cd &amp;lt;module&amp;gt;&lt;br /&gt;
    make -sr depend=t&lt;br /&gt;
    make -sr&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Build Cleanup==&lt;br /&gt;
In the event that you want to change configuration parameters used for building, you will probably need to &amp;quot;clean&amp;quot; your build output tree before starting again.&lt;br /&gt;
&lt;br /&gt;
To do this, navigate to the &amp;quot;main&amp;quot; directory, then source your environment shell script as you did for building:&lt;br /&gt;
&lt;br /&gt;
     &amp;lt;tt&amp;gt;source &amp;lt;shell-script-name&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
then do:&lt;br /&gt;
&lt;br /&gt;
     dmake clean&lt;br /&gt;
&lt;br /&gt;
= [[Documentation/Building Guide AOO/Step by step|Step-by-Step Building Guide for Different Platforms]] =&lt;br /&gt;
&lt;br /&gt;
= Building Apache OpenOffice with an IDE =&lt;br /&gt;
== [[OpenOffice and Eclipse|Building with Eclipse]] ==&lt;br /&gt;
&lt;br /&gt;
= Additional Build Resources =&lt;br /&gt;
[[Building old versions|Building old versions]]&lt;br /&gt;
== [[Debugging|Debugging]] ==&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:Porting]]&lt;br /&gt;
[[Category:Build_System]]&lt;/div&gt;</summary>
		<author><name>Mechtilde</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Mechtilde/Configure&amp;diff=245523</id>
		<title>User:Mechtilde/Configure</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Mechtilde/Configure&amp;diff=245523"/>
		<updated>2019-02-06T10:14:30Z</updated>

		<summary type="html">&lt;p&gt;Mechtilde: Created page with &amp;quot;This is the output from &amp;#039;&amp;#039;configure --help&amp;#039;&amp;#039; for 4.2  &amp;lt;pre&amp;gt; ./configure --help `configure&amp;#039; configures this package to adapt to many kinds of systems.  Usage: ./configure [OPTI...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the output from &amp;#039;&amp;#039;configure --help&amp;#039;&amp;#039; for 4.2&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure --help&lt;br /&gt;
`configure&amp;#039; configures this package to adapt to many kinds of systems.&lt;br /&gt;
&lt;br /&gt;
Usage: ./configure [OPTION]... [VAR=VALUE]...&lt;br /&gt;
&lt;br /&gt;
To assign environment variables (e.g., CC, CFLAGS...), specify them as&lt;br /&gt;
VAR=VALUE.  See below for descriptions of some of the useful variables.&lt;br /&gt;
&lt;br /&gt;
Defaults for the options are specified in brackets.&lt;br /&gt;
&lt;br /&gt;
Configuration:&lt;br /&gt;
  -h, --help              display this help and exit&lt;br /&gt;
      --help=short        display options specific to this package&lt;br /&gt;
      --help=recursive    display the short help of all the included packages&lt;br /&gt;
  -V, --version           display version information and exit&lt;br /&gt;
  -q, --quiet, --silent   do not print `checking ...&amp;#039; messages&lt;br /&gt;
      --cache-file=FILE   cache test results in FILE [disabled]&lt;br /&gt;
  -C, --config-cache      alias for `--cache-file=config.cache&amp;#039;&lt;br /&gt;
  -n, --no-create         do not create output files&lt;br /&gt;
      --srcdir=DIR        find the sources in DIR [configure dir or `..&amp;#039;]&lt;br /&gt;
&lt;br /&gt;
Installation directories:&lt;br /&gt;
  --prefix=PREFIX         install architecture-independent files in PREFIX&lt;br /&gt;
                          [/usr/local]&lt;br /&gt;
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX&lt;br /&gt;
                          [PREFIX]&lt;br /&gt;
&lt;br /&gt;
By default, `make install&amp;#039; will install all the files in&lt;br /&gt;
`/usr/local/bin&amp;#039;, `/usr/local/lib&amp;#039; etc.  You can specify&lt;br /&gt;
an installation prefix other than `/usr/local&amp;#039; using `--prefix&amp;#039;,&lt;br /&gt;
for instance `--prefix=$HOME&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
For better control, use the options below.&lt;br /&gt;
&lt;br /&gt;
Fine tuning of the installation directories:&lt;br /&gt;
  --bindir=DIR            user executables [EPREFIX/bin]&lt;br /&gt;
  --sbindir=DIR           system admin executables [EPREFIX/sbin]&lt;br /&gt;
  --libexecdir=DIR        program executables [EPREFIX/libexec]&lt;br /&gt;
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]&lt;br /&gt;
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]&lt;br /&gt;
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]&lt;br /&gt;
  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]&lt;br /&gt;
  --libdir=DIR            object code libraries [EPREFIX/lib]&lt;br /&gt;
  --includedir=DIR        C header files [PREFIX/include]&lt;br /&gt;
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]&lt;br /&gt;
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]&lt;br /&gt;
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]&lt;br /&gt;
  --infodir=DIR           info documentation [DATAROOTDIR/info]&lt;br /&gt;
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]&lt;br /&gt;
  --mandir=DIR            man documentation [DATAROOTDIR/man]&lt;br /&gt;
  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]&lt;br /&gt;
  --htmldir=DIR           html documentation [DOCDIR]&lt;br /&gt;
  --dvidir=DIR            dvi documentation [DOCDIR]&lt;br /&gt;
  --pdfdir=DIR            pdf documentation [DOCDIR]&lt;br /&gt;
  --psdir=DIR             ps documentation [DOCDIR]&lt;br /&gt;
&lt;br /&gt;
X features:&lt;br /&gt;
  --x-includes=DIR    X include files are in DIR&lt;br /&gt;
  --x-libraries=DIR   X library files are in DIR&lt;br /&gt;
&lt;br /&gt;
System types:&lt;br /&gt;
  --build=BUILD     configure for building on BUILD [guessed]&lt;br /&gt;
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]&lt;br /&gt;
  --target=TARGET   configure for building compilers for TARGET [HOST]&lt;br /&gt;
&lt;br /&gt;
Optional Features:&lt;br /&gt;
  --disable-option-checking  ignore unrecognized --enable/--with options&lt;br /&gt;
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)&lt;br /&gt;
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]&lt;br /&gt;
  --enable-graphite       Enables the compilation of Graphite smart font rendering&lt;br /&gt;
&lt;br /&gt;
  --disable-online-update Disables the Online Update feature.&lt;br /&gt;
&lt;br /&gt;
  --disable-unit-tests		Disables default unit tests (eg. unit tests using Google test, ...).&lt;br /&gt;
&lt;br /&gt;
  --disable-ldap          Disables the use of LDAP backend via OpenLDAP&lt;br /&gt;
&lt;br /&gt;
  --disable-fetch-external Disables fetching external tarballs from web sources.&lt;br /&gt;
&lt;br /&gt;
  --enable-lockdown       Enables the gconf integration work in AOO&lt;br /&gt;
&lt;br /&gt;
  --disable-vba           disables the vba compatibility feature&lt;br /&gt;
&lt;br /&gt;
  --enable-pch            EXPERIMENTAL: Enables precompiled header support for C++.&lt;br /&gt;
&lt;br /&gt;
  --disable-epm           AOO includes self-packaging code, that requires&lt;br /&gt;
                          epm, however epm is useless for large scale&lt;br /&gt;
                          package building.&lt;br /&gt;
&lt;br /&gt;
  --disable-odk           AOO includes an ODK, office development kit&lt;br /&gt;
                          which some packagers may want to build without&lt;br /&gt;
&lt;br /&gt;
  --disable-mathmldtd     disable mathmldtd&lt;br /&gt;
                          (useful for distributions that want to avoid packaging&lt;br /&gt;
                          it)&lt;br /&gt;
&lt;br /&gt;
  --enable-evolution2     Allows the built-in evolution 2 addressbook&lt;br /&gt;
                          connectivity build to be enabled.&lt;br /&gt;
&lt;br /&gt;
  --disable-cups          disable CUPS support (for printing on UNIX)&lt;br /&gt;
&lt;br /&gt;
  --disable-fontconfig    disable support for the fontconfig library&lt;br /&gt;
&lt;br /&gt;
  --disable-directx       Remove DirectX implementation for the new XCanvas&lt;br /&gt;
                          interface. The DirectX support requires more stuff&lt;br /&gt;
                          installed on Windows to compile.&lt;br /&gt;
                          (DirectX SDK, GDI+ libs)&lt;br /&gt;
&lt;br /&gt;
  --disable-activex       Disable the use of ActiveX for Windows build.&lt;br /&gt;
                          This switch is mandatory when using VC++ 2005/2008 Express.&lt;br /&gt;
                          Alternatively you can use the Windows Driver Kit (WDK) and&lt;br /&gt;
                          configure with the following switches:&lt;br /&gt;
                          --with-atl-include-dir=$WDK_HOME\inc\atl71&lt;br /&gt;
                          --with-atl-lib-dir=$WDK_HOME\lib\ATL\i386&lt;br /&gt;
                          --with-mfc-include-dir=$WDK_HOME\inc\mfc42&lt;br /&gt;
                          --with-mfc-lib-dir=$WDK_HOME\lib\Mfc\i386&lt;br /&gt;
&lt;br /&gt;
  --disable-atl          Disable the use of ATL for Windows build.&lt;br /&gt;
                          This switch is mandatory when using VC++ 2005/2008 Express.&lt;br /&gt;
                          Alternatively you can use the Windows Driver Kit (WDK) and&lt;br /&gt;
                          configure with the following switches:&lt;br /&gt;
                          --with-atl-include-dir=$WDK_HOME\inc\atl71&lt;br /&gt;
                          --with-atl-lib-dir=$WDK_HOME\lib\ATL\i386&lt;br /&gt;
                          --with-mfc-include-dir=$WDK_HOME\inc\mfc42&lt;br /&gt;
                          --with-mfc-lib-dir=$WDK_HOME\lib\Mfc\i386&lt;br /&gt;
&lt;br /&gt;
  --enable-symbols        Include debugging symbols in output.&lt;br /&gt;
                          WARNING - a complete build needs 8 Gb of space and&lt;br /&gt;
                          takes much longer. (enables -g compiler flag)&lt;br /&gt;
&lt;br /&gt;
                          --enable-symbols=SMALL sets the gcc -g1 setting&lt;br /&gt;
                          which is smaller.&lt;br /&gt;
&lt;br /&gt;
                          Enabling symbols disables the stripping of the solver&lt;br /&gt;
                          (--disable-strip-solver).&lt;br /&gt;
&lt;br /&gt;
  --disable-strip-solver  Disable the stripping of the solver.&lt;br /&gt;
                          By default the solver is stripped unless a build with&lt;br /&gt;
                          debugging symbols (--enable-symbols) is requested.&lt;br /&gt;
&lt;br /&gt;
                          This switch allows to override this setting.&lt;br /&gt;
&lt;br /&gt;
  --enable-werror         Turn warnings to errors. (Has no effect in modules&lt;br /&gt;
                          where the treating of warnings as errors is disabled&lt;br /&gt;
                          explicitly)&lt;br /&gt;
&lt;br /&gt;
  --enable-debug          Include debugging symbols from --enable-symbols&lt;br /&gt;
                          plus extra debugging code. Extra large build!&lt;br /&gt;
                          (enables -g compiler flag and dmake debug=true)&lt;br /&gt;
&lt;br /&gt;
  --enable-dbgutil        Include additional debugging utilities, such as&lt;br /&gt;
                          assertions, object counting, etc. Larger build.&lt;br /&gt;
                          Independent from --enable-debug&lt;br /&gt;
&lt;br /&gt;
  --enable-crashdump      Enable the crashdump feature code.&lt;br /&gt;
&lt;br /&gt;
  --enable-cl-standard    For Microsoft C/C++ compiler users, use non-optimizing&lt;br /&gt;
                          standard compiler. ( This just disables optimization&lt;br /&gt;
                          options and therefore removes a lot of warnings when&lt;br /&gt;
                          using the cheaper standard compiler. )&lt;br /&gt;
&lt;br /&gt;
  --enable-win64          Enable building 64 bit OpenOffice on 64 bit Windows, (as&lt;br /&gt;
                          opposed to 32 bit OpenOffice that is usually built there).&lt;br /&gt;
                          This is a temporary option during the transition,&lt;br /&gt;
                          as 64 bit OpenOffice doesn&amp;#039;t fully build on Windows yet.&lt;br /&gt;
&lt;br /&gt;
  --enable-win-x64-shellext    Enable the build/usage of Windows 64bit shell extensions.&lt;br /&gt;
                          These extensions are used for the system integration on&lt;br /&gt;
			  Windows 64bit systems. For example supporting the search&lt;br /&gt;
			  in ODF files with the standard Windows search feature.&lt;br /&gt;
&lt;br /&gt;
  --disable-gtk           Determines whether to use Gtk+ vclplug on platforms&lt;br /&gt;
                          where Gtk+ is available.&lt;br /&gt;
&lt;br /&gt;
  --enable-gstreamer      Determines whether to use the GStreamer media&lt;br /&gt;
                          backend on platforms where GStreamer is available.&lt;br /&gt;
&lt;br /&gt;
  --disable-systray       Determines whether to build the systray quickstarter.&lt;br /&gt;
&lt;br /&gt;
  --enable-cairo          Determines whether to use Cairo library on&lt;br /&gt;
                          platforms where Cairo is available.&lt;br /&gt;
&lt;br /&gt;
  --disable-cairo-canvas  Determines whether to build the Cairo canvas on&lt;br /&gt;
                          platforms where Cairo is available.&lt;br /&gt;
&lt;br /&gt;
  --enable-opengl         Determines whether to build the OpenGL 3D slide&lt;br /&gt;
                          transitions component&lt;br /&gt;
&lt;br /&gt;
  --enable-dbus           Determines whether to enable presentation mode&lt;br /&gt;
                          screensaver control under GNOME via DBUS&lt;br /&gt;
&lt;br /&gt;
  --disable-gconf         Determines whether to use the GConf support&lt;br /&gt;
&lt;br /&gt;
  --disable-gnome-vfs     Determines whether to use the Gnome Virtual Filing&lt;br /&gt;
                          System on platforms where that VFS is available&lt;br /&gt;
&lt;br /&gt;
  --enable-gio            Determines whether to use the GIO support&lt;br /&gt;
&lt;br /&gt;
  --enable-static-gtk     Modules that are linked against gtk libraries use&lt;br /&gt;
                          the static libraries instead of the dynamic ones.&lt;br /&gt;
                          (enables -Bstatic linker flag for gtk libraries)&lt;br /&gt;
&lt;br /&gt;
  --enable-layout         Enable the compilation and use of layout dialogs&lt;br /&gt;
&lt;br /&gt;
  --disable-nss-module    Whether to use the NSS module that is used for xml-security&lt;br /&gt;
&lt;br /&gt;
  --enable-kde            Determines whether to use Qt/KDE vclplug on platforms&lt;br /&gt;
                          where Qt and KDE are available.&lt;br /&gt;
&lt;br /&gt;
  --enable-kde4            Determines whether to use Qt4/KDE4 vclplug on platforms&lt;br /&gt;
                          where Qt4 and KDE4 are available. May be used with --enable-kde&lt;br /&gt;
                          if you want to support both KDE3 and KDE4.&lt;br /&gt;
&lt;br /&gt;
  --disable-rpath         Disable the use of relative paths in shared libraries&lt;br /&gt;
&lt;br /&gt;
  --disable-pam           Disable pam support.&lt;br /&gt;
&lt;br /&gt;
  --enable-pam-link       link with libpam instead of dynamically open it&lt;br /&gt;
&lt;br /&gt;
  --disable-crypt-link    disable linking with libcrypt instead of dynamically&lt;br /&gt;
                          open it (needed for ancient GNU/Linux distributions&lt;br /&gt;
                          without crypt()/libcrypt)&lt;br /&gt;
&lt;br /&gt;
  --enable-xrender-link   link with libXrender instead of dynamically open it&lt;br /&gt;
&lt;br /&gt;
  --disable-randr         disable RandR support in the vcl project&lt;br /&gt;
&lt;br /&gt;
  --disable-randr-link    disable linking with libXrandr, instead dynamically&lt;br /&gt;
                           open it at runtime&lt;br /&gt;
&lt;br /&gt;
  --enable-bundled-dictionaries  Download dictionaries (spelling, hyphenation, thesaurus)&lt;br /&gt;
                           according to main/extensions.lst and bundle them. Make sure to&lt;br /&gt;
                           comply with their distribution requirements and update the&lt;br /&gt;
                           files LICENSE_aggregated and NOTICE_aggregated accordingly&lt;br /&gt;
&lt;br /&gt;
  --enable-mysql-connector     enables the build of the MySQL Connector/OOo extension.&lt;br /&gt;
                                This requires access to the MySQL Connector/C (aka libmysql) to be given, too, with&lt;br /&gt;
                                either the --with-system-mysql or --with-libmysql-path option.&lt;br /&gt;
&lt;br /&gt;
  --enable-beanshell     Enable the use of beanshell.&lt;br /&gt;
&lt;br /&gt;
  --enable-pdfimport          enables the build of the PDF Import extension&lt;br /&gt;
&lt;br /&gt;
  --enable-wiki-publisher      enables the build of the Wiki Publisher extension&lt;br /&gt;
&lt;br /&gt;
  --enable-report-builder  enables the build of the Report Builder extension&lt;br /&gt;
&lt;br /&gt;
  --disable-saxon         Disable use of saxon&lt;br /&gt;
&lt;br /&gt;
  --enable-hunspell       Determines whether to enable the Hunspell library.&lt;br /&gt;
                          If enabled, the library will be built unless you&lt;br /&gt;
                          specify --with-system-hunspell to use the library&lt;br /&gt;
                          already present on your system.&lt;br /&gt;
                          If disabled, the Spell Checking component will also&lt;br /&gt;
                          be disabled.&lt;br /&gt;
                          (Default: hunspell disabled)&lt;br /&gt;
&lt;br /&gt;
  --enable-hyphen         Determines whether to enable the Hyphen library.&lt;br /&gt;
                          If enabled, the library will be built unless you&lt;br /&gt;
                          specify --with-system-hyphen to use the library&lt;br /&gt;
                          already present on your system.&lt;br /&gt;
                          If disabled, the Hyphenator component will also&lt;br /&gt;
                          be disabled.&lt;br /&gt;
                          (Default: hyphen disabled)&lt;br /&gt;
&lt;br /&gt;
  --enable-gcjaot         Build with[out] using Ahead of Time java compilation&lt;br /&gt;
                          support to speed up buildsi by compiling the jars also&lt;br /&gt;
                          to native code..&lt;br /&gt;
                          --enable-gcjaot is only known to work with bytecode&lt;br /&gt;
                          created with gcj or ecj&lt;br /&gt;
&lt;br /&gt;
  --disable-javascript    Disables support for JavaScript macros.&lt;br /&gt;
&lt;br /&gt;
  --disable-coinmp        Do not use CoinMP as the Calc solver.&lt;br /&gt;
&lt;br /&gt;
  --enable-check-only     Use this option option if you just want to check your&lt;br /&gt;
                          environment.  This option stops the generation of an&lt;br /&gt;
                          ????env.set&lt;br /&gt;
&lt;br /&gt;
                          Usage: --enable-check-only=yes&lt;br /&gt;
&lt;br /&gt;
  --enable-ccache-skip    [default=auto] allow the use of --ccache-skip to&lt;br /&gt;
                          escape compiler flags that would otherwise prevent&lt;br /&gt;
                          caching of the result (currently used on Mac only)&lt;br /&gt;
                          NOTE: requires patched version because of a bug in&lt;br /&gt;
                          ccache (see issue 104567 for details and patch)&lt;br /&gt;
                          explicitly enable if your version of ccache does not&lt;br /&gt;
                          identify as version 2.4_OOo&lt;br /&gt;
&lt;br /&gt;
  --enable-verbose        Increase build verbosity.&lt;br /&gt;
  --disable-verbose       Decrease build verbosity.&lt;br /&gt;
&lt;br /&gt;
  --disable-dependency-tracking  Disables generation of dependency information.&lt;br /&gt;
&lt;br /&gt;
  --enable-category-b     Activate components under a category B license&lt;br /&gt;
                          (see http://www.apache.org/legal/3party.html#category-b):&lt;br /&gt;
                          MPL (hunspell, hyphen, nss, saxon, rhino),&lt;br /&gt;
                          CPL (silgraphite), CPL/EPL (CoinMP), OFL (fonts).&lt;br /&gt;
                          Flags for individual libraries override this one.&lt;br /&gt;
&lt;br /&gt;
  --disable-largefile     omit support for large files&lt;br /&gt;
&lt;br /&gt;
Optional Packages:&lt;br /&gt;
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]&lt;br /&gt;
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)&lt;br /&gt;
  --with-dmake-path=&amp;lt;PATH TO EXECUTABLE&amp;gt;   Specify the location of dmake&lt;br /&gt;
  --with-dmake-url=&amp;lt;URL&amp;gt;   Specify the location of downloadable dmake source code. For example:&lt;br /&gt;
                          https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2&lt;br /&gt;
                          Note that dmake is under GPL license.&lt;br /&gt;
  --with-packager-list=&amp;lt;PATH TO PACK LIST&amp;gt;   Specify a file to drive the packaging process.&lt;br /&gt;
                          The file must follow the format explained in&lt;br /&gt;
                          instsetoo_native/util/pack.lst&lt;br /&gt;
&lt;br /&gt;
  --with-gnu-patch        Specify location of GNU patch on Solaris or FreeBSD&lt;br /&gt;
&lt;br /&gt;
  --with-gnu-cp           Specify location of GNU cp on Solaris&lt;br /&gt;
&lt;br /&gt;
  --with-gperf           Specify location of gperf on Solaris or FreeBSD&lt;br /&gt;
&lt;br /&gt;
  --with-system-graphite    use graphite library already installed on system&lt;br /&gt;
&lt;br /&gt;
  --with-system-apache-commons    use apache-commons jar files already installed on system&lt;br /&gt;
&lt;br /&gt;
  --with-external-tar=&amp;lt;TARFILE PATH&amp;gt;   Specify path to tarfiles manually&lt;br /&gt;
  --with-openldap         Enables the use of the OpenLDAP&lt;br /&gt;
&lt;br /&gt;
  --with-vba-package-format   specify package format for vba compatibility api.&lt;br /&gt;
                          Specifying &amp;quot;builtin&amp;quot; means the api component and&lt;br /&gt;
                          associated type library are part of the installation set.&lt;br /&gt;
                          Specifying &amp;quot;extn&amp;quot; creates an uno extension that is&lt;br /&gt;
                          part of the installation set ( located in the program&lt;br /&gt;
                          directory ) that MUST be optionly registered using&lt;br /&gt;
                          either the unopkg executeable or the extension manager&lt;br /&gt;
                          gui.&lt;br /&gt;
&lt;br /&gt;
                          Note: &amp;quot;builtin&amp;quot; is the default, &amp;quot;extn&amp;quot; can cause&lt;br /&gt;
                          problems.&lt;br /&gt;
                          Usage: --with-vba-package-format=&amp;quot;builtin&amp;quot; or&lt;br /&gt;
                                 --with-vba-package-format=&amp;quot;extn&amp;quot;&lt;br /&gt;
&lt;br /&gt;
  --without-fonts         AOO includes some third-party fonts to provide a reliable&lt;br /&gt;
                          basis for help content, templates, samples, etc.&lt;br /&gt;
                          When these fonts are already known to be available on the&lt;br /&gt;
                          system then you should use this option.&lt;br /&gt;
&lt;br /&gt;
  --without-ppds          Removes Postscript Printer definition files from&lt;br /&gt;
                          Apache Openoffice installation set, for people building&lt;br /&gt;
                          for specific distributions where PPDs are known to be&lt;br /&gt;
                          already available (every recent distro with CUPS&lt;br /&gt;
                          backend)&lt;br /&gt;
&lt;br /&gt;
  --without-afms          Removes bitmap font files from Apache Openoffice&lt;br /&gt;
                          installation set, for people building for specific&lt;br /&gt;
                          distributions where AFM files or TrueType Fonts&lt;br /&gt;
                          are known to be available.&lt;br /&gt;
&lt;br /&gt;
  --with-epm		  Decides which epm to use. Default is to use&lt;br /&gt;
			  the one from the system if one is built. When&lt;br /&gt;
			  either this is not there or you say =internal&lt;br /&gt;
			  epm will be built.&lt;br /&gt;
&lt;br /&gt;
  --with-epm-url=&amp;lt;URL&amp;gt;    Specify the location of downloadable epm source code. For example:&lt;br /&gt;
                            https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz&lt;br /&gt;
                          or&lt;br /&gt;
                            http://epm.sourcearchive.com/downloads/3.7-1/epm_3.7.orig.tar.gz&lt;br /&gt;
                          Version 3.7 or later is required. Note that epm is under GPL license.&lt;br /&gt;
&lt;br /&gt;
  --with-package-format   specify package format(s) for AOO installsets.&lt;br /&gt;
                          Default is &amp;quot;normal&amp;quot; one of the OS/Distribution.&lt;br /&gt;
&lt;br /&gt;
                          Usage: --with-package-format=&amp;quot;foo bar&amp;quot;&lt;br /&gt;
&lt;br /&gt;
  --with-system-stdlibs   use libstdc++/libgcc_s already on system&lt;br /&gt;
&lt;br /&gt;
  --with-atl-include-dir      Path to ATL include directory for Windows build.&lt;br /&gt;
                          This switch is mandatory when using VC++ 2008 Express&lt;br /&gt;
                          and configuring with ATL/ActiveX enabled.&lt;br /&gt;
                          You can use the Windows Driver Kit (WDK) and&lt;br /&gt;
                          configure with the following switch:&lt;br /&gt;
                          --with-atl-include-dir=$WDK_HOME\inc\atl71&lt;br /&gt;
&lt;br /&gt;
  --with-atl-lib-dir          Path to ATL libraries directory for Windows build.&lt;br /&gt;
                          This switch is mandatory when using VC++ 2008 Express&lt;br /&gt;
                          and configuring with ATL/ActiveX enabled.&lt;br /&gt;
                          You can use the Windows Driver Kit (WDK) and&lt;br /&gt;
                          configure with the following switch:&lt;br /&gt;
                          --with-atl-lib-dir=$WDK_HOME\lib\ATL\i386&lt;br /&gt;
&lt;br /&gt;
  --with-mfc-include-dir       Path to MFC include directory for Windows build.&lt;br /&gt;
                          This switch is mandatory when using VC++ 2008 Express&lt;br /&gt;
                          and configuring with ATL/ActiveX enabled.&lt;br /&gt;
                          You can use the Windows Driver Kit (WDK) and&lt;br /&gt;
                          configure with the following switch:&lt;br /&gt;
                          --with-mfc-include-dir=$WDK_HOME\inc\mfc42&lt;br /&gt;
&lt;br /&gt;
  --with-mfc-lib-dir          Path to MFC libraries directory for Windows build.&lt;br /&gt;
                          This switch is mandatory when using VC++ 2008 Express&lt;br /&gt;
                          and configuring with ATL/ActiveX enabled.&lt;br /&gt;
                          You can use the Windows Driver Kit (WDK) and&lt;br /&gt;
                          configure with the following switch:&lt;br /&gt;
                          --with-mfc-lib-dir=$WDK_HOME\lib\Mfc\i386&lt;br /&gt;
&lt;br /&gt;
  --with-system-cairo      Use Cairo libraries already on system&lt;br /&gt;
&lt;br /&gt;
  --with-bundled-extension-blobs Whitespace separated list of files in the tarball directory&lt;br /&gt;
                          that are to be bundled as-is for installation as extensions&lt;br /&gt;
                          at the first program start. Make sure to only bundle extensions&lt;br /&gt;
                          which can be installed without requiring a license dialog&lt;br /&gt;
                          and comply with their distribution requirements by updating the&lt;br /&gt;
                          files LICENSE_aggregated and NOTICE_aggregated accordingly&lt;br /&gt;
&lt;br /&gt;
  --with-system-dicts    Use dictionaries from system paths- Specify&lt;br /&gt;
                         them via --with-{dict,hyph,thes}-path=/path&lt;br /&gt;
                        if you want to override the default ones&lt;br /&gt;
&lt;br /&gt;
  --with-external-dict-dir Specify external dictionary dir&lt;br /&gt;
&lt;br /&gt;
  --with-external-hyph-dir Specify external hyphenation pattern dir&lt;br /&gt;
&lt;br /&gt;
  --with-external-thes-dir Specify external thesaurus dir&lt;br /&gt;
&lt;br /&gt;
  --with-system-libs      Use libs already on system -- enables all&lt;br /&gt;
                          --with-system-* flags except&lt;br /&gt;
                          odbc/sane/xrender-header(s)&lt;br /&gt;
&lt;br /&gt;
  --with-system-headers   Use headers already on system -- enables all&lt;br /&gt;
                          --with-system-* flags for external packages&lt;br /&gt;
                          whose headers are the only entities used i.e.&lt;br /&gt;
                          boost/vigra/odbc/sane/xrender-header(s)&lt;br /&gt;
&lt;br /&gt;
  --without-system-jars   When building with --with-system-libs, also the&lt;br /&gt;
                          needed jars are expected on the system. Use this to&lt;br /&gt;
                          disable that.&lt;br /&gt;
                          (except for the db case where --with-system-db&lt;br /&gt;
                          *has to* imply using the db.jar from there, too)&lt;br /&gt;
&lt;br /&gt;
  --with-system-zlib      Use zlib already on system&lt;br /&gt;
&lt;br /&gt;
  --with-system-nss       Use NSS already on system&lt;br /&gt;
&lt;br /&gt;
  --with-system-openssl   Use OpenSSL already on system&lt;br /&gt;
&lt;br /&gt;
  --with-system-jpeg      Use jpeg already on system&lt;br /&gt;
&lt;br /&gt;
  --with-system-expat     Use expat already on system&lt;br /&gt;
&lt;br /&gt;
  --with-system-libxml    Use libxml already on system&lt;br /&gt;
&lt;br /&gt;
  --with-system-python    Use python already on system&lt;br /&gt;
&lt;br /&gt;
  --with-system-icu       Use icu already on system&lt;br /&gt;
&lt;br /&gt;
  --with-system-poppler   Use poppler already on system&lt;br /&gt;
&lt;br /&gt;
  --with-system-lucene    Use lucene already on system&lt;br /&gt;
&lt;br /&gt;
  --with-lucene-core-jar=JARFILE   Specify path to jarfile manually&lt;br /&gt;
  --with-lucene-analyzers-jar=JARFILE   Specify path to jarfile manually&lt;br /&gt;
  --with-system-mysql          Use MySQL libraries already on system, for building the MySQL Connector/OOo extension.&lt;br /&gt;
                                Requires MYSQLCONFIG to point to the mysql_config executable.&lt;br /&gt;
&lt;br /&gt;
  --with-libmysql-path         Use Connector/C (libmysql) installation for building the MySQL Connector/OOo extension.&lt;br /&gt;
&lt;br /&gt;
                                Usage: --with-libmysql-path=&amp;lt;absolute path to your Connector/C installation&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  --with-system-mysql-cppconn  Use MySQL C++ Connector libraries already on system&lt;br /&gt;
&lt;br /&gt;
  --with-system-hsqldb    Use hsqldb already on system&lt;br /&gt;
&lt;br /&gt;
  --with-hsqldb-jar=JARFILE   Specify path to jarfile manually&lt;br /&gt;
  --with-system-beanshell Use beanshell already on system (default)&lt;br /&gt;
&lt;br /&gt;
  --with-beanshell-jar=JARFILE   Specify path to jarfile manually&lt;br /&gt;
  --with-commons-codec-jar=JARFILE   Specify path to jarfile manually&lt;br /&gt;
  --with-commons-lang-jar=JARFILE   Specify path to jarfile manually&lt;br /&gt;
  --with-commons-httpclient-jar=JARFILE   Specify path to jarfile manually&lt;br /&gt;
  --with-commons-logging-jar=JARFILE   Specify path to jarfile manually&lt;br /&gt;
  --servlet-api-jar=JARFILE   Specify path to jarfile manually&lt;br /&gt;
  --with-sac-jar=JARFILE   Specify path to jarfile manually (for Report Builder extension)&lt;br /&gt;
  --with-libxml-jar=JARFILE   Specify path to jarfile manually (for Report Builder extension)&lt;br /&gt;
  --with-flute-jar=JARFILE   Specify path to jarfile manually (for Report Builder extension)&lt;br /&gt;
  --with-jfreereport-jar=JARFILE   Specify path to jarfile manually (for Report Builder extension)&lt;br /&gt;
  --with-liblayout-jar=JARFILE   Specify path to jarfile manually (for Report Builder extension)&lt;br /&gt;
  --with-libloader-jar=JARFILE   Specify path to jarfile manually (for Report Builder extension)&lt;br /&gt;
  --with-libformula-jar=JARFILE   Specify path to jarfile manually (for Report Builder extension)&lt;br /&gt;
  --with-librepository-jar=JARFILE   Specify path to jarfile manually (for Report Builder extension)&lt;br /&gt;
  --with-libfonts-jar=JARFILE   Specify path to jarfile manually (for Report Builder extension)&lt;br /&gt;
  --with-libserializer-jar=JARFILE   Specify path to jarfile manually (for Report Builder extension)&lt;br /&gt;
  --with-libbase-jar=JARFILE   Specify path to jarfile manually (for Report Builder extension)&lt;br /&gt;
  --with-system-saxon     Use saxon already on system (default)&lt;br /&gt;
&lt;br /&gt;
  --with-saxon-jar=JARFILE   Specify path to jarfile manually. This implies --with-system-saxon&lt;br /&gt;
  --with-system-libxslt   Use libxslt already on system&lt;br /&gt;
&lt;br /&gt;
  --with-system-odbc-headers     Use the odbc headers already on system&lt;br /&gt;
&lt;br /&gt;
  --with-system-sane-header      Use sane.h already on system&lt;br /&gt;
&lt;br /&gt;
  --with-system-xrender-headers  Use XRender headers already on system&lt;br /&gt;
&lt;br /&gt;
  --with-system-curl      Use curl already on system&lt;br /&gt;
&lt;br /&gt;
  --with-system-boost     Use boost already on system&lt;br /&gt;
&lt;br /&gt;
  --with-system-mdds      Use mdds already on system&lt;br /&gt;
&lt;br /&gt;
  --with-system-vigra     Use vigra already on system&lt;br /&gt;
&lt;br /&gt;
  --with-system-hunspell  Use libhunspell already on system&lt;br /&gt;
&lt;br /&gt;
  --with-system-mythes    Use mythes already on system&lt;br /&gt;
&lt;br /&gt;
  --with-system-hyphen    Use libhypeh already on system&lt;br /&gt;
&lt;br /&gt;
  --with-system-libtextcat      Use libtextcat already on system&lt;br /&gt;
&lt;br /&gt;
  --with-system-libtextcat-data Use libtextcat data already on system&lt;br /&gt;
&lt;br /&gt;
  --with-system-redland   Use redland library already on system&lt;br /&gt;
&lt;br /&gt;
  --with-stlport         Only building --without-stlport is supported.&lt;br /&gt;
&lt;br /&gt;
  --with-jdk-home         if you have installed JDK 1.3 or later on your system&lt;br /&gt;
                          please supply the path here.&lt;br /&gt;
                          Note that this is not the location of the Java binary&lt;br /&gt;
                          but the location of the entire distribution.&lt;br /&gt;
&lt;br /&gt;
                          Usage: --with-jdk-home=&amp;lt;absolute path to JDK home&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  --with-java             Build with[out] Java support. If you use&lt;br /&gt;
                          --without-java/--with-java=no then the build will have&lt;br /&gt;
                          no support for Java components, applets, accessibility&lt;br /&gt;
                          or XML filters.&lt;br /&gt;
&lt;br /&gt;
  --with-ant-home         If you have installed Apache Ant on your system,&lt;br /&gt;
                          please supply the path here.&lt;br /&gt;
                          Note that this is not the location of the Ant binary&lt;br /&gt;
                          but the location of the entire distribution.&lt;br /&gt;
&lt;br /&gt;
                          Usage: --with-ant-home=&amp;lt;absolute path to Ant home&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  --with-junit            Specifies the JUnit 4 jar file to use for JUnit-based&lt;br /&gt;
                          tests.  --without-junit disables those tests.  Not&lt;br /&gt;
                          relevant in the --without-java case.&lt;br /&gt;
&lt;br /&gt;
                          Usage: --with-junit=&amp;lt;absolute path to JUnit 4 jar&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  --with-hamcrest-core    Specifies the hamcrest-core jar file to use for&lt;br /&gt;
                          JUnit-based tests.  --without-junit disables those&lt;br /&gt;
                          tests.  Not relevant in the --without-java or&lt;br /&gt;
                          --without-junit cases, and only needed for JUnit&lt;br /&gt;
                          &amp;gt;= 4.11.&lt;br /&gt;
&lt;br /&gt;
  --with-perl-home        If you have installed the Perl 5 Distribution, on your&lt;br /&gt;
                          system, please supply the path here.&lt;br /&gt;
                          Note that this is not the location of the Perl binary&lt;br /&gt;
                          but the location of the entire distribution.&lt;br /&gt;
&lt;br /&gt;
                          Usage: --with-perl-home=&amp;lt;absolute path to Perl 5 home&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  --with-cl-home          For Windows NT users, please supply the path&lt;br /&gt;
                          for the Microsoft C/C++ compiler.&lt;br /&gt;
                          Note that this is not the location of the compiler&lt;br /&gt;
                          binary but the location of the entire distribution.&lt;br /&gt;
&lt;br /&gt;
                          Usage: --with-cl-home=&amp;lt;absolute path to Microsoft C/C++ compiler home&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  --with-mspdb-path       For Microsoft C/C++ compiler users, please supply the&lt;br /&gt;
                          path pointing to the mspdb71.dll (.NET 2003).&lt;br /&gt;
&lt;br /&gt;
                          Usage: --with-mspdb-path=&amp;lt;absolute path to mspdb71.dll&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  --with-midl-path        For Microsoft C/C++ .NET compiler users, please supply&lt;br /&gt;
                          the path pointing to the midl.exe.&lt;br /&gt;
&lt;br /&gt;
                          Usage: --with-midl-path=&amp;lt;absolute path to midl.exe&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  --with-csc-path         For Microsoft C/C++ .NET compiler users, please supply&lt;br /&gt;
                          the path pointing to the csc.exe.&lt;br /&gt;
&lt;br /&gt;
                          Usage: --with-csc-path=&amp;lt;absolute path to csc.exe&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  --with-nsis-path        For Windows users, please supply the path to the&lt;br /&gt;
                          &amp;quot;Nullsoft Scriptable Install System&amp;quot; (NSIS). If NSIS&lt;br /&gt;
                          is found in the path or this option is supplied a self&lt;br /&gt;
                          contained executable installer for Apache OpenOffice&lt;br /&gt;
                          will be created.&lt;br /&gt;
&lt;br /&gt;
                          Usage: --with-nsis-path=&amp;lt;absolute path to nsis.exe&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  --with-frame-home       For Microsoft C/C++ .NET compiler users, please supply&lt;br /&gt;
                          the path pointing to lib/mscoree.lib, usually&lt;br /&gt;
                          something like:&lt;br /&gt;
                          &amp;quot;/cygdrive/c/Program Files/Microsoft Visual Studio .NET/FrameworkSDK&amp;quot;&lt;br /&gt;
&lt;br /&gt;
                          MS Visual Toolkit compiler users, please supply the&lt;br /&gt;
                          path pointing to lib/msvcrt.lib, usually something&lt;br /&gt;
                          like:&lt;br /&gt;
                          &amp;quot;/cygdrive/c/Program Files/Microsoft Visual Studio .NET 2003/Vc7&amp;quot;&lt;br /&gt;
&lt;br /&gt;
                          Usage: --with-frame-home=&amp;lt;absolute path to Framework SDK [home]&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  --with-psdk-home        For Windows users, please supply the path to the&lt;br /&gt;
                          Microsoft Platform SDK.&lt;br /&gt;
&lt;br /&gt;
                          Usage: --with-psdk-home=&amp;lt;absolute path to Microsoft Platform SDK&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  --with-directx-home     For Windows users, please supply the path to the&lt;br /&gt;
                          Microsoft DirectX SDK.&lt;br /&gt;
&lt;br /&gt;
                          Usage: --with-directx-home=&amp;lt;absolute path to Microsoft DirectX SDK&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  --with-mozilla-build    For Windows users, please supply the path to the&lt;br /&gt;
                          mozilla build tools.&lt;br /&gt;
&lt;br /&gt;
                          Usage: --with-mozilla-build=&amp;lt;absolute path to mozilla build tools&amp;gt;&lt;br /&gt;
&lt;br /&gt;
						  At the moment of this writing, an installer for the mozilla build tools&lt;br /&gt;
						  can be obtained from http://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/.&lt;br /&gt;
&lt;br /&gt;
  --with-local-solenv     If you have solenv in a location other than ./solenv,&lt;br /&gt;
                          please supply the path here.&lt;br /&gt;
&lt;br /&gt;
                          Usage: --with-local-solenv=&amp;lt;absolute path to solenv&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  --with-local-solver     if you have solver in a location other than ./solver,&lt;br /&gt;
                          please supply the path here.&lt;br /&gt;
&lt;br /&gt;
                          Usage: --with-local-solver=&amp;lt;absolute path to solver&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  --with-system-apr       Use apr library already installed on the system&lt;br /&gt;
&lt;br /&gt;
  --with-system-apr-util  Use apr-util library already installed on the system&lt;br /&gt;
&lt;br /&gt;
  --with-system-serf      Use serf library already installed on the system&lt;br /&gt;
&lt;br /&gt;
  --with-system-coinmp    Use CoinMP library already installed on the system&lt;br /&gt;
&lt;br /&gt;
  --with-lang             Use this option to build Apache OpenOffice with&lt;br /&gt;
                          additional language support. English (US) is always&lt;br /&gt;
                          included by default. Separate multiple languages with&lt;br /&gt;
                          space. For all languages, use --with-lang=ALL.&lt;br /&gt;
&lt;br /&gt;
                          Usage: --with-lang=&amp;quot;es sw tu cs sk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
  --with-poor-help-localizations&lt;br /&gt;
                           Use this option to specify which languages have&lt;br /&gt;
                          unusable help localizations. Separate multiple&lt;br /&gt;
                          languages with space.&lt;br /&gt;
&lt;br /&gt;
                          Usage: --with-poor-help-localizations=&amp;quot;af ar be-BY ca&amp;quot;&lt;br /&gt;
&lt;br /&gt;
  --with-dict             Use this option to build Apache OpenOffice with&lt;br /&gt;
                          dictionary support. ALL dictionaries are always&lt;br /&gt;
                          included by default unless overridden with&lt;br /&gt;
                          this option. Separate multiple dictionaries with&lt;br /&gt;
                          commas. For all dictionaries, use --with-dict=ALL.&lt;br /&gt;
&lt;br /&gt;
                          Usage: --with-dict=ENGB,ENUS,ITIT&lt;br /&gt;
&lt;br /&gt;
  --with-intro-bitmaps    Prefer the specified intro bitmaps over the&lt;br /&gt;
                          the default one.  Can be more than one (separated by&lt;br /&gt;
                          commas), the order means priority of fallback if the&lt;br /&gt;
                          first does not exist (in the installed tree).&lt;br /&gt;
&lt;br /&gt;
                          Usage: --with-intro-bitmaps=/path/my_ooo_intro.bmp&lt;br /&gt;
&lt;br /&gt;
  --with-about-bitmaps    Similarly to --with-intro-bitmaps, this allows&lt;br /&gt;
                          specification of bitmaps for the About box.&lt;br /&gt;
&lt;br /&gt;
                          Usage: --with-about-bitmaps=/path/my_ooo_about.bmp&lt;br /&gt;
&lt;br /&gt;
  --with-vendor           Set vendor of the build.&lt;br /&gt;
&lt;br /&gt;
                          Usage: --with-vendor=&amp;quot;John the Builder&amp;quot;&lt;br /&gt;
&lt;br /&gt;
  --with-unix-wrapper    Redefines the name of the UNIX wrapper that will be used&lt;br /&gt;
                          in the desktop files and in the desktop-integration RPMs.&lt;br /&gt;
&lt;br /&gt;
                          Usage: --with-unix-wrapper=ooffice&lt;br /&gt;
&lt;br /&gt;
  --with-asm-home         For Windows users, please supply the path for the&lt;br /&gt;
                          ml.exe assembler.&lt;br /&gt;
&lt;br /&gt;
                          Usage: --with-asm-home=&amp;lt;path to ml.exe directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  --with-nasm-home        For Windows users, please supply the path for the&lt;br /&gt;
                          nasm.exe assembler.&lt;br /&gt;
&lt;br /&gt;
                          Usage: --with-nasm-home=&amp;lt;path to nasm.exe directory&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  --with-os-version       For FreeBSD users, use this option option to override&lt;br /&gt;
                          the detected OSVERSION.&lt;br /&gt;
&lt;br /&gt;
                          Usage: --with-os-version=&amp;lt;OSVERSION&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  --with-unzip-home       Deprecated: use --with-zip-home instead&lt;br /&gt;
  --with-zip-home         If you use a non standard zip, for example Windows&lt;br /&gt;
                          please supply the path for zip&lt;br /&gt;
&lt;br /&gt;
                          Usage: --with-zip-home=&amp;lt;path to zip executable&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  --with-mingwin          For Windows users, use the mingwin32 compiler within&lt;br /&gt;
                          cygwin environment&lt;br /&gt;
&lt;br /&gt;
                          Usage: --with-mingwin=yes&lt;br /&gt;
&lt;br /&gt;
                          For !Windows use, use the mingw32 C++ compiler to&lt;br /&gt;
                          (re-) build unowinreg.dll. Specify the MinGW C++&lt;br /&gt;
                          Compilers name.&lt;br /&gt;
&lt;br /&gt;
                          Usage: --with-mingwin=i586-mingw32msvc-g++&lt;br /&gt;
&lt;br /&gt;
  --with-build-version    Allows the builder to add a custom version tag&lt;br /&gt;
                          that will appear in the Help/About box for QA&lt;br /&gt;
                          purposes.&lt;br /&gt;
&lt;br /&gt;
                          Usage: --with-build-version=&amp;quot;Built by Jim&amp;quot;&lt;br /&gt;
&lt;br /&gt;
  --with-alloc            Define which allocator to build with&lt;br /&gt;
                          (choices are oo, system, tcmalloc, jemalloc)&lt;br /&gt;
&lt;br /&gt;
                          Note that on FreeBSD/NetBSD system==jemalloc&lt;br /&gt;
&lt;br /&gt;
  --arm-target            The minimal targeted arm processor&lt;br /&gt;
                              used for the build environment.&lt;br /&gt;
                              Cases :&lt;br /&gt;
                                arm-target &amp;lt; 6 : armv4t compatibility&lt;br /&gt;
                                arm-target = 6 : exact armv6 compatibility&lt;br /&gt;
                                arm-target &amp;gt; 6 : armv7-a compatibility&lt;br /&gt;
&lt;br /&gt;
                              Usage: --with-arm-target=7&lt;br /&gt;
&lt;br /&gt;
  --macosx-target            The minimal macOS/OSX deployment and build target&lt;br /&gt;
&lt;br /&gt;
                              Usage: --with-macosx-target=10.7&lt;br /&gt;
&lt;br /&gt;
  --with-rat-scan         Scan source code for license headers.&lt;br /&gt;
                          Use as --with-rat-scan to automatically download pre-built Rat binaries.&lt;br /&gt;
                          Alternatively use as --with-rat-scan=&amp;lt;path-to-rat-direcetory&amp;gt; to use&lt;br /&gt;
                          a separately installed library.&lt;br /&gt;
&lt;br /&gt;
  --with-x                use the X Window System&lt;br /&gt;
&lt;br /&gt;
Some influential environment variables:&lt;br /&gt;
  PKG_CONFIG  path to pkg-config utility&lt;br /&gt;
  PKG_CONFIG_PATH&lt;br /&gt;
              directories to add to pkg-config&amp;#039;s search path&lt;br /&gt;
  PKG_CONFIG_LIBDIR&lt;br /&gt;
              path overriding pkg-config&amp;#039;s built-in search path&lt;br /&gt;
  CC          C compiler command&lt;br /&gt;
  CFLAGS      C compiler flags&lt;br /&gt;
  LDFLAGS     linker flags, e.g. -L&amp;lt;lib dir&amp;gt; if you have libraries in a&lt;br /&gt;
              nonstandard directory &amp;lt;lib dir&amp;gt;&lt;br /&gt;
  LIBS        libraries to pass to the linker, e.g. -l&amp;lt;library&amp;gt;&lt;br /&gt;
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I&amp;lt;include dir&amp;gt; if&lt;br /&gt;
              you have headers in a nonstandard directory &amp;lt;include dir&amp;gt;&lt;br /&gt;
  CPP         C preprocessor&lt;br /&gt;
  CXX         C++ compiler command&lt;br /&gt;
  CXXFLAGS    C++ compiler flags&lt;br /&gt;
  CXXCPP      C++ preprocessor&lt;br /&gt;
  FREETYPE_CFLAGS&lt;br /&gt;
              C compiler flags for FREETYPE, overriding pkg-config&lt;br /&gt;
  FREETYPE_LIBS&lt;br /&gt;
              linker flags for FREETYPE, overriding pkg-config&lt;br /&gt;
  LIBXSLT_CFLAGS&lt;br /&gt;
              C compiler flags for LIBXSLT, overriding pkg-config&lt;br /&gt;
  LIBXSLT_LIBS&lt;br /&gt;
              linker flags for LIBXSLT, overriding pkg-config&lt;br /&gt;
  LIBXML_CFLAGS&lt;br /&gt;
              C compiler flags for LIBXML, overriding pkg-config&lt;br /&gt;
  LIBXML_LIBS linker flags for LIBXML, overriding pkg-config&lt;br /&gt;
  APR_CFLAGS  C compiler flags for APR, overriding pkg-config&lt;br /&gt;
  APR_LIBS    linker flags for APR, overriding pkg-config&lt;br /&gt;
  APR_UTIL_CFLAGS&lt;br /&gt;
              C compiler flags for APR_UTIL, overriding pkg-config&lt;br /&gt;
  APR_UTIL_LIBS&lt;br /&gt;
              linker flags for APR_UTIL, overriding pkg-config&lt;br /&gt;
  SERF_CFLAGS C compiler flags for SERF, overriding pkg-config&lt;br /&gt;
  SERF_LIBS   linker flags for SERF, overriding pkg-config&lt;br /&gt;
  COINMP_CFLAGS&lt;br /&gt;
              C compiler flags for COINMP, overriding pkg-config&lt;br /&gt;
  COINMP_LIBS linker flags for COINMP, overriding pkg-config&lt;br /&gt;
  GRAPHITE_CFLAGS&lt;br /&gt;
              C compiler flags for GRAPHITE, overriding pkg-config&lt;br /&gt;
  GRAPHITE_LIBS&lt;br /&gt;
              linker flags for GRAPHITE, overriding pkg-config&lt;br /&gt;
  XMKMF       Path to xmkmf, Makefile generator for X Window System&lt;br /&gt;
  XRANDR_CFLAGS&lt;br /&gt;
              C compiler flags for XRANDR, overriding pkg-config&lt;br /&gt;
  XRANDR_LIBS linker flags for XRANDR, overriding pkg-config&lt;br /&gt;
  NSS_CFLAGS  C compiler flags for NSS, overriding pkg-config&lt;br /&gt;
  NSS_LIBS    linker flags for NSS, overriding pkg-config&lt;br /&gt;
  OPENSSL_CFLAGS&lt;br /&gt;
              C compiler flags for OPENSSL, overriding pkg-config&lt;br /&gt;
  OPENSSL_LIBS&lt;br /&gt;
              linker flags for OPENSSL, overriding pkg-config&lt;br /&gt;
  REDLAND_CFLAGS&lt;br /&gt;
              C compiler flags for REDLAND, overriding pkg-config&lt;br /&gt;
  REDLAND_LIBS&lt;br /&gt;
              linker flags for REDLAND, overriding pkg-config&lt;br /&gt;
  HUNSPELL_CFLAGS&lt;br /&gt;
              C compiler flags for HUNSPELL, overriding pkg-config&lt;br /&gt;
  HUNSPELL_LIBS&lt;br /&gt;
              linker flags for HUNSPELL, overriding pkg-config&lt;br /&gt;
  MYTHES_CFLAGS&lt;br /&gt;
              C compiler flags for MYTHES, overriding pkg-config&lt;br /&gt;
  MYTHES_LIBS linker flags for MYTHES, overriding pkg-config&lt;br /&gt;
  GCONF_CFLAGS&lt;br /&gt;
              C compiler flags for GCONF, overriding pkg-config&lt;br /&gt;
  GCONF_LIBS  linker flags for GCONF, overriding pkg-config&lt;br /&gt;
  GNOMEVFS_CFLAGS&lt;br /&gt;
              C compiler flags for GNOMEVFS, overriding pkg-config&lt;br /&gt;
  GNOMEVFS_LIBS&lt;br /&gt;
              linker flags for GNOMEVFS, overriding pkg-config&lt;br /&gt;
  GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config&lt;br /&gt;
  GTK_LIBS    linker flags for GTK, overriding pkg-config&lt;br /&gt;
  GTHREAD_CFLAGS&lt;br /&gt;
              C compiler flags for GTHREAD, overriding pkg-config&lt;br /&gt;
  GTHREAD_LIBS&lt;br /&gt;
              linker flags for GTHREAD, overriding pkg-config&lt;br /&gt;
  GTK_2_10_CFLAGS&lt;br /&gt;
              C compiler flags for GTK_2_10, overriding pkg-config&lt;br /&gt;
  GTK_2_10_LIBS&lt;br /&gt;
              linker flags for GTK_2_10, overriding pkg-config&lt;br /&gt;
  DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config&lt;br /&gt;
  DBUS_LIBS   linker flags for DBUS, overriding pkg-config&lt;br /&gt;
  GIO_CFLAGS  C compiler flags for GIO, overriding pkg-config&lt;br /&gt;
  GIO_LIBS    linker flags for GIO, overriding pkg-config&lt;br /&gt;
  GSTREAMER_CFLAGS&lt;br /&gt;
              C compiler flags for GSTREAMER, overriding pkg-config&lt;br /&gt;
  GSTREAMER_LIBS&lt;br /&gt;
              linker flags for GSTREAMER, overriding pkg-config&lt;br /&gt;
  CAIRO_CFLAGS&lt;br /&gt;
              C compiler flags for CAIRO, overriding pkg-config&lt;br /&gt;
  CAIRO_LIBS  linker flags for CAIRO, overriding pkg-config&lt;br /&gt;
  POPPLER_CFLAGS&lt;br /&gt;
              C compiler flags for POPPLER, overriding pkg-config&lt;br /&gt;
  POPPLER_LIBS&lt;br /&gt;
              linker flags for POPPLER, overriding pkg-config&lt;br /&gt;
  GOBJECT_CFLAGS&lt;br /&gt;
              C compiler flags for GOBJECT, overriding pkg-config&lt;br /&gt;
  GOBJECT_LIBS&lt;br /&gt;
              linker flags for GOBJECT, overriding pkg-config&lt;br /&gt;
&lt;br /&gt;
Use these variables to override the choices made by `configure&amp;#039; or to help&lt;br /&gt;
it to find libraries and programs with nonstandard names/locations.&lt;br /&gt;
&lt;br /&gt;
Report bugs to the package provider.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mechtilde</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Mechtilde/AOOBauen&amp;diff=245522</id>
		<title>User:Mechtilde/AOOBauen</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Mechtilde/AOOBauen&amp;diff=245522"/>
		<updated>2019-02-06T09:18:41Z</updated>

		<summary type="html">&lt;p&gt;Mechtilde: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the description how to build [[Apache OpenOffice]] on a Debian system (&amp;gt;=Debian 9). This is also an update of the build dokumentation on a Ubuntu system.&lt;br /&gt;
&lt;br /&gt;
This description based on the following sites:&lt;br /&gt;
&lt;br /&gt;
# [https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO Building Guide AOO]&lt;br /&gt;
# [https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Step_by_step Building_Guide_AOO - Step_by_step]&lt;br /&gt;
# [http://svn.apache.org/viewvc/openoffice/devtools/build-scripts/ Build Scripte]&lt;/div&gt;</summary>
		<author><name>Mechtilde</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Documentation/Building_Guide_AOO/Step_by_step&amp;diff=245521</id>
		<title>Documentation/Building Guide AOO/Step by step</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Documentation/Building_Guide_AOO/Step_by_step&amp;diff=245521"/>
		<updated>2019-02-06T09:17:59Z</updated>

		<summary type="html">&lt;p&gt;Mechtilde: /* Ubuntu 16.04 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:Step by step building guides for different platforms}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
This page is intended as a collection of simple step-by-step recipes to build Apache OpenOffice from source code.  A more thorough explanation of what the individual steps do and why they are necessary can be found in the [[Documentation/Building_Guide_AOO|building guide]].&lt;br /&gt;
&lt;br /&gt;
=Ubuntu 16.04=&lt;br /&gt;
 {{DraftPage|EN}}&lt;br /&gt;
The process to build {{AOo|EN}} is currently undergoing experimentation. As steps are firmed up they will be added here.&lt;br /&gt;
&lt;br /&gt;
Draft: With Version 4.2 we start to update the build enviroment to Ubuntu 18.04 and Debian 9. You can follow [https://wiki.openoffice.org/wiki/User:Mechtilde/AOOBauen AOOBauen]&lt;br /&gt;
&lt;br /&gt;
=Ubuntu 14.04=&lt;br /&gt;
&lt;br /&gt;
Ubuntu 14.04 is our secondary build platform for our complimentary community Linux 32 and 64 bit platforms, CentOS7 being our primary.&lt;br /&gt;
The basic building steps under Ubuntu 12.04 (see below) are to be followed in Ubuntu 14.04 as well; however, there are some minor build issues that any developer, using this OS, needs to be aware of, if he gets stuck while building. The following is the list of issues, with their fixes, that a developer may face with:&lt;br /&gt;
&lt;br /&gt;
* Issue 125475; see the link https://issues.apache.org/ooo/show_bug.cgi?id=125475 for detailed information. This happens if you explicitly upgraded your GCC and related tools to version 4.9; it will not appear if you use GCC 4.8.x.&lt;br /&gt;
&lt;br /&gt;
As the BZ says, it is because of buggy toolchain g++4.9. So for now in Ubuntu Linux 14.04, build the source using g++4.8.2, gcc4.8.2; these are the default compilers in Ubuntu Linux 14.04 anyway; please check it using the following commands:&lt;br /&gt;
&lt;br /&gt;
  g++ -v&lt;br /&gt;
  gcc -v&lt;br /&gt;
&lt;br /&gt;
if not, you&amp;#039;ve to download them.&lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install g++-4.8&lt;br /&gt;
  cd /usr/bin&lt;br /&gt;
  rm gcc&lt;br /&gt;
  rm g++&lt;br /&gt;
  ln -s gcc-4.8 gcc&lt;br /&gt;
  ln -s g++-4.8 g++&lt;br /&gt;
&lt;br /&gt;
* Updated Install requirements. In addition to those listed for Ubuntu 12.04:&lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install openjdk-7-jdk fakeroot&lt;br /&gt;
&lt;br /&gt;
* Failed to find ./solver/420/unxlngx6.pro/lib/x86_64-linux-gnu/libstdc++.so.6.0.20 error.&lt;br /&gt;
&lt;br /&gt;
  cp /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20 ./solver/420/unxlngx6.pro/lib/&lt;br /&gt;
  rm ./solver/420/unxlngx6.pro/lib/libstdc++.so.6&lt;br /&gt;
  ln -s ./solver/420/unxlngx6.pro/lib/libstdc++.so.6.0.20 ./solver/420/unxlngx6.pro/lib/libstdc++.so.6&lt;br /&gt;
&lt;br /&gt;
* No such file or directory - connectivity/virtualdbtools.hxx while building svx.&lt;br /&gt;
&lt;br /&gt;
if you get an error like this, then that means connectivity is not built properly. Build connectivity using build --all:connectivity and this error will go away.&lt;br /&gt;
&lt;br /&gt;
==Build and Packaging tools==&lt;br /&gt;
&lt;br /&gt;
Download, configure, build and install dmake and epm&lt;br /&gt;
 $ wget https://github.com/jimjag/dmake/archive/dmake-4.12.3.tar.gz&lt;br /&gt;
 $ tar -xzf dmake-4.12.3.tar.gz&lt;br /&gt;
 $ cd dmake-dmake-4.12.3&lt;br /&gt;
 $ ./configure --prefix=/usr/local; make install&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 $ wget https://github.com/jimjag/epm/archive/epm-4.4.2.tar.gz&lt;br /&gt;
 $ cd epm-epm-4.4.2&lt;br /&gt;
 $ ./configure --prefix=/usr/local --enable-aoo; make install&lt;br /&gt;
&lt;br /&gt;
=Ubuntu 12.04=&lt;br /&gt;
&lt;br /&gt;
* Setup VirtualBox with Ubuntu 12.04 64 bit on Windows7 64bit host.  A native installation is of course fine, too.&lt;br /&gt;
* Let updater update ca. 380 packages. Restart.&lt;br /&gt;
* Get the source.  You can start with the source release or by checking out from SVN:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;prettytable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Source release&lt;br /&gt;
! SVN&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| Build from source release if you want to build OpenOffice once but don&amp;#039;t want to do any development.&lt;br /&gt;
| Build from SVN if you want to development work with OpenOffice.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &lt;br /&gt;
&lt;br /&gt;
* Download AOO 4.1.3 source tarball from&lt;br /&gt;
https://www.apache.org/dyn/closer.lua/openoffice/4.1.3/source/apache-openoffice-4.1.3-r1761381-src.tar.bz2&lt;br /&gt;
&lt;br /&gt;
* Optional: Download signature from&lt;br /&gt;
https://archive.apache.org/dist/openoffice/4.1.3/source/apache-openoffice-4.1.3-r1761381-src.tar.bz2.asc&lt;br /&gt;
&lt;br /&gt;
and verify the source tarball with&lt;br /&gt;
&lt;br /&gt;
 gpg --verify apache-openoffice-4.1.3-r1761381-src.tar.bz2.asc \&lt;br /&gt;
              apache-openoffice-4.1.3-r1761381-src.tar.bz2&lt;br /&gt;
&lt;br /&gt;
Note that you have to have the keys already imported to your key chain. The keys can be found on the download page:&lt;br /&gt;
&lt;br /&gt;
https://www.apache.org/dist/openoffice/KEYS&lt;br /&gt;
&lt;br /&gt;
* Unpack source:&lt;br /&gt;
  cd /tmp&lt;br /&gt;
  tar -xjf ~/Downloads/apache-openoffice-4.1.3-r1761381-src.tar.bz2&lt;br /&gt;
  cd aoo-4.1.3/main&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
&lt;br /&gt;
* Start with creating a parent directory for the source code.  Don&amp;#039;t use &amp;lt;code&amp;gt;/tmp&amp;lt;/code&amp;gt; because that is deleted on every boot:&lt;br /&gt;
&lt;br /&gt;
  sudo mkdir /source&lt;br /&gt;
  sudo chown &amp;lt;your-user-name&amp;gt; /source&lt;br /&gt;
  cd /source&lt;br /&gt;
&lt;br /&gt;
* Install subversion and checkout the source:&lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install subversion&lt;br /&gt;
  svn co https://svn.apache.org/repos/asf/openoffice/trunk aoo-trunk&lt;br /&gt;
  cd aoo-trunk/main&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* Install requirements (this will also install packages that are not listed):&lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install g++ gcc bison flex libarchive-zip-perl libcups2-dev \&lt;br /&gt;
       libpam0g-dev gperf libfreetype6-dev libxaw7-dev libfontconfig1-dev \&lt;br /&gt;
       libxrandr-dev patch libgconf2-dev libgnomevfs2-dev ant libgtk2.0-dev \&lt;br /&gt;
       junit junit4 libidl-dev liborbit2-dev openjdk-6-jdk libwww-perl \&lt;br /&gt;
       libxml-parser-perl autoconf libssl-dev libpam-dev libgstreamer\*&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Run autoconf to generate configure script:&lt;br /&gt;
&lt;br /&gt;
  autoconf&lt;br /&gt;
&lt;br /&gt;
* Configure (see the building guide section on [[Documentation/Building_Guide_AOO#Configuration_and_bootstrapping|configuration]] for further options):&lt;br /&gt;
&lt;br /&gt;
  ./configure \&lt;br /&gt;
      --with-dmake-url=https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2 \&lt;br /&gt;
      --with-epm-url=https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz \&lt;br /&gt;
      --disable-odk \&lt;br /&gt;
      --disable-binfilter&lt;br /&gt;
&lt;br /&gt;
* Finish configuration and download missing tarballs and extensions:&lt;br /&gt;
&lt;br /&gt;
  ./bootstrap&lt;br /&gt;
&lt;br /&gt;
* Include the configured environment:&lt;br /&gt;
&lt;br /&gt;
  source LinuxX86-64Env.Set.sh&lt;br /&gt;
&lt;br /&gt;
* Build:&lt;br /&gt;
&lt;br /&gt;
  cd instsetoo_native/&lt;br /&gt;
  build --all&lt;br /&gt;
&lt;br /&gt;
This may take a while to complete.  Several hours are not uncommon.  To speed things up you may want to run &amp;#039;build&amp;#039; like this&lt;br /&gt;
&lt;br /&gt;
  build --all -P&amp;lt;n&amp;gt; -- -P&amp;lt;n&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to start a parallel build.  Replace &amp;lt;n&amp;gt; with the number of CPU cores. &lt;br /&gt;
&lt;br /&gt;
* Install:&lt;br /&gt;
&lt;br /&gt;
  sudo dpkg -i unxlngx6.pro/Apache_OpenOffice/deb/install/en-US/DEBS/*.deb&lt;br /&gt;
  sudo dpkg -i unxlngx6.pro/Apache_OpenOffice/deb/install/en-US/DEBS/desktop-integration/openoffice4.2-debian-menus_4.2-9800_all.deb&lt;br /&gt;
&lt;br /&gt;
* Start Apache OpenOffice:&lt;br /&gt;
&lt;br /&gt;
  /opt/openoffice4/program/soffice&lt;br /&gt;
&lt;br /&gt;
=CentOS 5 for AOO 4.1.x =&lt;br /&gt;
&lt;br /&gt;
CentOS 5 is our reference environment for build through the 4.1.x series. As it is a very old environment, it is &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; recommended to use it for your first build. But is important to document how to build on CentOS 5 since this is where the release through 4.1.x are built.&lt;br /&gt;
&lt;br /&gt;
==Setup a VM==&lt;br /&gt;
&lt;br /&gt;
KVM given here as example.&lt;br /&gt;
&lt;br /&gt;
  $ wget -O /tmp/CentOS-5.iso http://mi.mirror.garr.it/mirrors/CentOS/5.11/isos/x86_64/CentOS-5.11-x86_64-netinstall.iso&lt;br /&gt;
  $ fallocate -l 61440M /vms/centos5_64.img&lt;br /&gt;
  $ sudo virt-install --boot cdrom --name centos5_64 --memory 8192 -f /vms/centos5_64.img --cdrom /tmp/CentOS-5.iso&lt;br /&gt;
&lt;br /&gt;
* Install the system; installation will start with the above command and use the following values when asked:&lt;br /&gt;
** Installation method: HTTP with website mirror.centos.org and CentOS directory /centos/5/os/x86_64&lt;br /&gt;
** Partitioning: 60000M for /, rest swap (you will need ~55 GBytes for a full build with all languages and langpacks)&lt;br /&gt;
** Setup Base system only&lt;br /&gt;
* Reboot the VM and configure it&lt;br /&gt;
** You&amp;#039;ll probably want a non-root user with sudo access and you may want to disable some services.&lt;br /&gt;
** &amp;lt;code&amp;gt;$ sudo yum update -y&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;$ sudo reboot&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Our community builds are actually done on a VMware Fusion VM. Build times are mostly sensitive to the number of CPUs and allocated RAM; our setup is a 6 core VM with 16GB of memory.&lt;br /&gt;
&lt;br /&gt;
==Setup repositories and packages==&lt;br /&gt;
&lt;br /&gt;
EPEL is needed for dpkg (to build DEBs):&lt;br /&gt;
&lt;br /&gt;
  $ wget http://archives.fedoraproject.org/pub/archive/epel/5/i386/epel-release-5-4.noarch.rpm&lt;br /&gt;
  $ sudo rpm -ivh epel-release-5-4.noarch.rpm&lt;br /&gt;
  $ sudo yum update -y&lt;br /&gt;
&lt;br /&gt;
Now you can install all dependencies:&lt;br /&gt;
&lt;br /&gt;
  $ sudo yum install \&lt;br /&gt;
        gcc \&lt;br /&gt;
        expat-devel \&lt;br /&gt;
        openssl-devel \&lt;br /&gt;
        autoconf \&lt;br /&gt;
        gcc-c++ \&lt;br /&gt;
        cups-devel \&lt;br /&gt;
        pam-devel \&lt;br /&gt;
        java-1.6.0-openjdk-devel \&lt;br /&gt;
        rpm-build \&lt;br /&gt;
        dpkg \&lt;br /&gt;
        gperf \&lt;br /&gt;
        freetype-devel \&lt;br /&gt;
        libX11-devel \&lt;br /&gt;
        libXt-devel \&lt;br /&gt;
        fontconfig-devel \&lt;br /&gt;
        libXrandr-devel \&lt;br /&gt;
        bison \&lt;br /&gt;
        flex \&lt;br /&gt;
        GConf2-devel \&lt;br /&gt;
        gnome-vfs2-devel \&lt;br /&gt;
        gtk2-devel \&lt;br /&gt;
        gstreamer-devel \&lt;br /&gt;
        gstreamer-plugins-base-devel \&lt;br /&gt;
        mesa-libGLU-devel \&lt;br /&gt;
        subversion \&lt;br /&gt;
        ccache&lt;br /&gt;
&lt;br /&gt;
Configure ccache:&lt;br /&gt;
&lt;br /&gt;
  $ ccache -M 2G&lt;br /&gt;
&lt;br /&gt;
This leaves out Ant and Perl.&lt;br /&gt;
&lt;br /&gt;
==Download Ant==&lt;br /&gt;
&lt;br /&gt;
Ant 1.7.1 is now available in the CentOS repositories:&lt;br /&gt;
&lt;br /&gt;
  $ sudo yum install ant17 ant17-apache-regexp&lt;br /&gt;
&lt;br /&gt;
However, this will still cause configure to fail, so a manual download is needed. Ant will live in ~/ant and we need to download it manually.&lt;br /&gt;
&lt;br /&gt;
 $ cd&lt;br /&gt;
 $ wget http://mirrors.nxnethosting.com/apache//ant/binaries/apache-ant-1.9.7-bin.tar.bz2&lt;br /&gt;
 $ tar xvf apache-ant-1.9.7-bin.tar.bz2&lt;br /&gt;
 $ ln -s apache-ant-1.9.7 ant&lt;br /&gt;
&lt;br /&gt;
==Install Perl modules==&lt;br /&gt;
&lt;br /&gt;
We can no longer use the system Perl and standard packages on CentOS 5, which are too old, so we will need to build newer versions.&lt;br /&gt;
&lt;br /&gt;
  $ cd /usr/local/src&lt;br /&gt;
  $ wget https://www.cpan.org/src/5.0/perl-5.14.4.tar.gz&lt;br /&gt;
  $ tar xvf perl-5.14.4.tar.gz&lt;br /&gt;
  $ cd perl-5.14.4&lt;br /&gt;
  $ ./configure.gnu ; make&lt;br /&gt;
  $ sudo make install&lt;br /&gt;
  $ sudo /usr/local/bin/perl -MCPAN -e shell&lt;br /&gt;
   cpan[1]&amp;gt; install Archive::Zip XML::Parser LWP::UserAgent Digest::SHA Digest::MD5 LWP::Protocol::https&lt;br /&gt;
   cpan[1]&amp;gt; exit&lt;br /&gt;
  $&lt;br /&gt;
&lt;br /&gt;
Make sure that /usr/local/bin/perl is in your $PATH and is used before any other versions.&lt;br /&gt;
&lt;br /&gt;
==Configure==&lt;br /&gt;
&lt;br /&gt;
See http://svn.apache.org/viewvc/openoffice/devtools/build-scripts/ for the configure options for a release build.&lt;br /&gt;
&lt;br /&gt;
=CentOS 7 for AOO 4.2.x and later=&lt;br /&gt;
&lt;br /&gt;
Although CentOS 5 was our reference environment for build through the 4.1.x series, as it is a very old environment, it is not a viable system to use for building AOO 4.2.x and later, mainly due to some dependencies no longer being available for CentOS5 (such as &amp;#039;&amp;#039;gstreamer-1.x&amp;#039;&amp;#039;). Not to say that you can&amp;#039;t do so, but we have switched to CentOS 7 for our reference build. Other than that, the actual setups and builds for both OSs are strikingly similar.&lt;br /&gt;
&lt;br /&gt;
==Setup a VM==&lt;br /&gt;
&lt;br /&gt;
We have had good results installing CentOS 7 under both VirtualBox and VMware. Our community builds are actually done on a VMware Fusion VM. Build times are mostly sensitive to the number of CPUs and allocated RAM; our setup is a 6 core VM with 16GB of memory. We recommend CentOS 7.5&lt;br /&gt;
&lt;br /&gt;
==Setup repositories and packages==&lt;br /&gt;
&lt;br /&gt;
EPEL is needed for dpkg (to build DEBs) and for ccache (to speed up repeated builds, optional but recommended):&lt;br /&gt;
&lt;br /&gt;
  $ sudo yum install epel-release&lt;br /&gt;
  $ sudo yum update -y&lt;br /&gt;
&lt;br /&gt;
Now you can install all dependencies:&lt;br /&gt;
&lt;br /&gt;
  $ sudo yum install \&lt;br /&gt;
        gcc \&lt;br /&gt;
        expat-devel \&lt;br /&gt;
        openssl-devel \&lt;br /&gt;
        autoconf \&lt;br /&gt;
        gcc-c++ \&lt;br /&gt;
        cups-devel \&lt;br /&gt;
        pam-devel \&lt;br /&gt;
        java-1.7.0-openjdk-devel \&lt;br /&gt;
        rpm-build \&lt;br /&gt;
        dpkg \&lt;br /&gt;
        fakeroot \&lt;br /&gt;
        gperf \&lt;br /&gt;
        freetype-devel \&lt;br /&gt;
        libX11-devel \&lt;br /&gt;
        libXt-devel \&lt;br /&gt;
        fontconfig-devel \&lt;br /&gt;
        libXrandr-devel \&lt;br /&gt;
        bison \&lt;br /&gt;
        flex \&lt;br /&gt;
        GConf2-devel \&lt;br /&gt;
        gnome-vfs2-devel \&lt;br /&gt;
        gtk2-devel \&lt;br /&gt;
        gstreamer-devel \&lt;br /&gt;
        gstreamer-plugins-base-devel \&lt;br /&gt;
        gstreamer1-devel \&lt;br /&gt;
        gstreamer1-plugins-base-devel \&lt;br /&gt;
        mesa-libGLU-devel \&lt;br /&gt;
        wget \&lt;br /&gt;
        subversion \&lt;br /&gt;
        ccache \&lt;br /&gt;
        glib2-devel \&lt;br /&gt;
        dbus-glib-devel \&lt;br /&gt;
        perl \&lt;br /&gt;
        ORBit2-devel&lt;br /&gt;
&lt;br /&gt;
Configure ccache to use at least 2 GBytes:&lt;br /&gt;
&lt;br /&gt;
  $ ccache -M 2G&lt;br /&gt;
&lt;br /&gt;
This leaves out Ant and Perl.&lt;br /&gt;
&lt;br /&gt;
==Download Ant==&lt;br /&gt;
&lt;br /&gt;
The version of Ant installed via yum can cause configure to fail, so a manual download is needed. Ant will live in ~/ant and we need to download it manually.&lt;br /&gt;
&lt;br /&gt;
 $ cd&lt;br /&gt;
 $ wget http://mirrors.nxnethosting.com/apache//ant/binaries/apache-ant-1.9.13-bin.tar.bz2&lt;br /&gt;
 $ tar xvf apache-ant-1.9.13-bin.tar.bz2&lt;br /&gt;
 $ ln -s apache-ant-1.9.13 ant&lt;br /&gt;
&lt;br /&gt;
==Install Perl modules==&lt;br /&gt;
&lt;br /&gt;
We can use the system Perl and standard packages on CentOS 6, see https://bz.apache.org/ooo/show_bug.cgi?id=127120&lt;br /&gt;
&lt;br /&gt;
  $ sudo yum install \&lt;br /&gt;
        cpan \&lt;br /&gt;
        perl-libwww-perl \&lt;br /&gt;
        perl-Archive-Zip \&lt;br /&gt;
        perl-Digest-SHA \&lt;br /&gt;
        perl-XML-Parser \&lt;br /&gt;
        perl-Crypt-SSLeay \&lt;br /&gt;
        perl-Env \&lt;br /&gt;
        perl-LWP-Protocol-https&lt;br /&gt;
&lt;br /&gt;
  $ sudo cpan File::Path&lt;br /&gt;
&lt;br /&gt;
==Build and Packaging tools==&lt;br /&gt;
&lt;br /&gt;
Download, configure, build and install dmake and epm&lt;br /&gt;
 $ wget https://github.com/jimjag/dmake/archive/dmake-4.12.3.tar.gz&lt;br /&gt;
 $ cd dmake-dmake-4,12,3&lt;br /&gt;
 $ ./configure --prefix=/usr/local; make install&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 $ wget https://github.com/jimjag/epm/archive/epm-4.4.2.tar.gz&lt;br /&gt;
 $ cd epm-epm-4.4.2&lt;br /&gt;
 $ ./configure --prefix=/usr/local --enable-aoo; make install&lt;br /&gt;
&lt;br /&gt;
==32 bit hints==&lt;br /&gt;
&lt;br /&gt;
There is not a EPEL release for CentOS 7 32bit, so you&amp;#039;ll need to download, build and install dpkg and GNUtar directly:&lt;br /&gt;
&lt;br /&gt;
 $ wget ftp://ftp.de.debian.org//debian/pool/main/d/dpkg/dpkg_1.19.3.tar.xz&lt;br /&gt;
 $ wget http://ftp.gnu.org/gnu/tar/tar-1.30.tar.gz&lt;br /&gt;
&lt;br /&gt;
==Configure==&lt;br /&gt;
&lt;br /&gt;
See https://svn.apache.org/viewvc/openoffice/devtools/build-scripts/ for the configure options for a release build.&lt;br /&gt;
&lt;br /&gt;
= Fedora 21 =&lt;br /&gt;
&lt;br /&gt;
== Autoconf ==&lt;br /&gt;
&lt;br /&gt;
=== Work directory ===&lt;br /&gt;
&amp;lt;code&amp;gt;/share/linux2/aoo/trunk/main/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You need to create the &amp;quot;configure&amp;quot; command in order to start:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ autoconf&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configure the build options ==&lt;br /&gt;
&lt;br /&gt;
You need to configure the build options to tell the build command what to use or to ignore:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ ./configure \ &amp;lt;br/&amp;gt;&lt;br /&gt;
--with-dmake-url=https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2 \ &amp;lt;br/&amp;gt;&lt;br /&gt;
--with-epm-url=https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz \ &amp;lt;br/&amp;gt;&lt;br /&gt;
--disable-odk \ &amp;lt;br/&amp;gt;&lt;br /&gt;
--disable-gconf \ &amp;lt;br/&amp;gt;&lt;br /&gt;
--disable-gnome-vfs \ &amp;lt;br/&amp;gt;&lt;br /&gt;
--with-package-format=&amp;quot;installed&amp;quot;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Bootstrap the build ==&lt;br /&gt;
&lt;br /&gt;
You need to prepare the build environment. This will download missing source code tar balls of external libraries, download missing external dictionary extensions and pre-build needed tools:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ ./bootstrap&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Source the environment ==&lt;br /&gt;
&lt;br /&gt;
You need to setup environment variableas and other things in the terminal window where the build should run.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ source LinuxX86-64Env.Set.sh&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Important&amp;#039;&amp;#039;&amp;#039; &amp;lt;br /&amp;gt;&lt;br /&gt;
It depends on the respective terminal window/tab. The build will not or unpredictable run in a different one.&lt;br /&gt;
&lt;br /&gt;
== Start building ==&lt;br /&gt;
&lt;br /&gt;
Work directory&lt;br /&gt;
&amp;lt;code&amp;gt;/share/linux2/aoo/trunk/main/instsetoo_native&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following command will use all available CPU cores to build most as possible in parallel:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ build --all -P8 -- -P8&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following command build and redirect all output to stdout and stderr into a single log file. Perfect for forwarding to someone else in case of build problems:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ build &amp;lt;options&amp;gt; &amp;gt; build_error_log_yyyy.mm.dd_hh.mm.txt 2&amp;gt;&amp;amp;1&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following can be used when you want to know how many hours the build took to complete:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ time build &amp;lt;options&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following is to clear things up when a project didn&amp;#039;t build successfully before starting again:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ build --prepare --from &amp;lt;prj_name&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When the same error occurs exactly again, then maybe the &amp;quot;--prepare&amp;quot; option doesn&amp;#039;t work for projects that were changed to gbuild. Then the respective solver directory needs to be deleted manually. Either from the following directory or in another sub-dir. Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ rm -rf main/solver/420/*.pro/workdir/CxxObject/&amp;lt;prj_name&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Cleanup the build tree ==&lt;br /&gt;
&lt;br /&gt;
Work directory&lt;br /&gt;
&amp;lt;code&amp;gt;/share/linux2/aoo/trunk/main/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following command needs to be executed to cleanup all build artefacts to be able to start again a clean build:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ dmake clean&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Important&amp;#039;&amp;#039;&amp;#039; &amp;lt;br /&amp;gt;&lt;br /&gt;
This will delete the &amp;quot;dmake&amp;quot; command itself. Therefore it&amp;#039;s needed to run configure, bootstrap and source again (see above).&lt;br /&gt;
&lt;br /&gt;
== Build breaker ==&lt;br /&gt;
&lt;br /&gt;
1. Module &amp;quot;svx&amp;quot; &amp;lt;br /&amp;gt;&lt;br /&gt;
2. Module &amp;quot;dbaccess&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The file &amp;lt;code&amp;gt;main/svx/source/fmcomp/fmgridif.cxx&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;main/dbaccess/source/ui/uno/ColumnControl.cxx&amp;lt;/code&amp;gt; should be compiled with enabled compiler optimization. However, this doesn&amp;#039;t work on the Intel x86-64 platform due to this GCC 4.9.3 bug (should be fixed with 5.0):&lt;br /&gt;
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58678&lt;br /&gt;
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65009&lt;br /&gt;
&lt;br /&gt;
The workaround is to disable the optimization for both files in the respective makefiles &amp;lt;code&amp;gt;main/svx/Library_svxcore.mk&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;main/dbaccess/source/ui/uno/makefile.mk&amp;lt;/code&amp;gt;. The following short patch should work:&lt;br /&gt;
&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. Makefile &amp;quot;main/svx/Library_svxcore.mk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;patch start&amp;gt; &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
--- Library_svxcore.mk.orig    2016-09-04 15:32:07.305410023 +0200 &amp;lt;br /&amp;gt;&lt;br /&gt;
+++ Library_svxcore.mk.new    2016-09-05 20:16:33.411649496 +0200 &amp;lt;br /&amp;gt;&lt;br /&gt;
@@ -121,7 +121,6 @@ &amp;lt;br /&amp;gt;&lt;br /&gt;
svx/source/engine3d/viewpt3d2 \ &amp;lt;br /&amp;gt;&lt;br /&gt;
svx/source/fmcomp/dbaexchange \ &amp;lt;br /&amp;gt;&lt;br /&gt;
svx/source/fmcomp/fmgridcl \ &amp;lt;br /&amp;gt;&lt;br /&gt;
- svx/source/fmcomp/fmgridif \ &amp;lt;br /&amp;gt;&lt;br /&gt;
svx/source/fmcomp/gridcell \ &amp;lt;br /&amp;gt;&lt;br /&gt;
svx/source/fmcomp/gridcols \ &amp;lt;br /&amp;gt;&lt;br /&gt;
svx/source/fmcomp/gridctrl \ &amp;lt;br /&amp;gt;&lt;br /&gt;
@@ -452,6 +451,23 @@ &amp;lt;br /&amp;gt;&lt;br /&gt;
)) &amp;lt;br /&amp;gt;&lt;br /&gt;
endif &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
+# the following source file can&amp;#039;t be compiled with &amp;quot;-Os&amp;quot; by gcc 4.9 as it &amp;lt;br /&amp;gt;&lt;br /&gt;
+# because of a bug in devirtualization optimization (#i125475#): &amp;lt;br /&amp;gt;&lt;br /&gt;
+#   &amp;lt;https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58678&amp;gt; &amp;lt;br /&amp;gt;&lt;br /&gt;
+#   &amp;lt;https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65009&amp;gt; &amp;lt;br /&amp;gt;&lt;br /&gt;
+# Compiling with &amp;quot;-O2&amp;quot; or &amp;lt;br /&amp;gt;&lt;br /&gt;
+# &amp;quot;-Os -fno-devirtualize -fno-devirtualize-speculatively&amp;quot; is sufficient to fix. &amp;lt;br /&amp;gt;&lt;br /&gt;
+ifeq ($(COM),GCC) &amp;lt;br /&amp;gt;&lt;br /&gt;
+$(eval $(call gb_Library_add_cxxobjects,svxcore,\ &amp;lt;br /&amp;gt;&lt;br /&gt;
+    svx/source/fmcomp/fmgridif \ &amp;lt;br /&amp;gt;&lt;br /&gt;
+    , $(gb_COMPILERNOOPTFLAGS) $(gb_LinkTarget_EXCEPTIONFLAGS) \ &amp;lt;br /&amp;gt;&lt;br /&gt;
+)) &amp;lt;br /&amp;gt;&lt;br /&gt;
+else &amp;lt;br /&amp;gt;&lt;br /&gt;
+$(eval $(call gb_Library_add_exception_objects,svxcore,\ &amp;lt;br /&amp;gt;&lt;br /&gt;
+    svx/source/fmcomp/fmgridif \ &amp;lt;br /&amp;gt;&lt;br /&gt;
+)) &amp;lt;br /&amp;gt;&lt;br /&gt;
+endif &amp;lt;br /&amp;gt;&lt;br /&gt;
+ &amp;lt;br /&amp;gt;&lt;br /&gt;
$(eval $(call gb_SdiTarget_SdiTarget,svx/sdi/svxslots,svx/sdi/svx)) &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
$(eval $(call gb_SdiTarget_set_include,svx/sdi/svxslots,\&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/patch end&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Makefile &amp;quot;main/dbaccess/Library_dbui.mk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;patch start&amp;gt;&lt;br /&gt;
&lt;br /&gt;
--- Library_dbui.mk.orig    2016-09-04 15:28:55.200594932 +0200 &amp;lt;br /&amp;gt;&lt;br /&gt;
+++ Library_dbui.mk.new    2016-09-06 00:34:05.241638508 +0200 &amp;lt;br /&amp;gt;&lt;br /&gt;
@@ -260,7 +260,6 @@ &amp;lt;br /&amp;gt;&lt;br /&gt;
dbaccess/source/ui/tabledesign/TableRowExchange \ &amp;lt;br /&amp;gt;&lt;br /&gt;
dbaccess/source/ui/tabledesign/TableUndo \ &amp;lt;br /&amp;gt;&lt;br /&gt;
dbaccess/source/ui/uno/AdvancedSettingsDlg \ &amp;lt;br /&amp;gt;&lt;br /&gt;
- dbaccess/source/ui/uno/ColumnControl \ &amp;lt;br /&amp;gt;&lt;br /&gt;
dbaccess/source/ui/uno/ColumnModel \ &amp;lt;br /&amp;gt;&lt;br /&gt;
dbaccess/source/ui/uno/ColumnPeer \ &amp;lt;br /&amp;gt;&lt;br /&gt;
dbaccess/source/ui/uno/DBTypeWizDlg \ &amp;lt;br /&amp;gt;&lt;br /&gt;
@@ -313,4 +312,21 @@ &amp;lt;br /&amp;gt;&lt;br /&gt;
)) &amp;lt;br /&amp;gt;&lt;br /&gt;
endif &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
+# the following source file can&amp;#039;t be compiled with &amp;quot;-Os&amp;quot; by gcc 4.9 as it &amp;lt;br /&amp;gt;&lt;br /&gt;
+# because of a bug in devirtualization optimization (#i125475#): &amp;lt;br /&amp;gt;&lt;br /&gt;
+#   &amp;lt;https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58678&amp;gt; &amp;lt;br /&amp;gt;&lt;br /&gt;
+#   &amp;lt;https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65009&amp;gt; &amp;lt;br /&amp;gt;&lt;br /&gt;
+# Compiling with &amp;quot;-O2&amp;quot; or &amp;lt;br /&amp;gt;&lt;br /&gt;
+# &amp;quot;-Os -fno-devirtualize -fno-devirtualize-speculatively&amp;quot; is sufficient to fix. &amp;lt;br /&amp;gt;&lt;br /&gt;
+ifeq ($(COM),GCC) &amp;lt;br /&amp;gt;&lt;br /&gt;
+$(eval $(call gb_Library_add_cxxobjects,dbui,\ &amp;lt;br /&amp;gt;&lt;br /&gt;
+    dbaccess/source/ui/uno/ColumnControl \ &amp;lt;br /&amp;gt;&lt;br /&gt;
+    , $(gb_COMPILERNOOPTFLAGS) $(gb_LinkTarget_EXCEPTIONFLAGS) \ &amp;lt;br /&amp;gt;&lt;br /&gt;
+)) &amp;lt;br /&amp;gt;&lt;br /&gt;
+else &amp;lt;br /&amp;gt;&lt;br /&gt;
+$(eval $(call gb_Library_add_exception_objects,dbui,\ &amp;lt;br /&amp;gt;&lt;br /&gt;
+    dbaccess/source/ui/uno/ColumnControl \ &amp;lt;br /&amp;gt;&lt;br /&gt;
+)) &amp;lt;br /&amp;gt;&lt;br /&gt;
+endif &amp;lt;br /&amp;gt;&lt;br /&gt;
+ &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;# vim: set noet sw=4 ts=4:&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/patch end&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Needed packages ==&lt;br /&gt;
&lt;br /&gt;
The following packages (incl. their dependencies) that need to be available or installed additionally:&lt;br /&gt;
&lt;br /&gt;
* ant&lt;br /&gt;
* autoconf&lt;br /&gt;
* bison&lt;br /&gt;
* cups-devel&lt;br /&gt;
* flex&lt;br /&gt;
* gcc&lt;br /&gt;
* gcc++&lt;br /&gt;
* gperf&lt;br /&gt;
* gtk2&lt;br /&gt;
* gtk2-devel&lt;br /&gt;
* hamcreast&lt;br /&gt;
* java-1.8.0-openjdk&lt;br /&gt;
* java-1.8.0-openjdk-devel&lt;br /&gt;
* junit&lt;br /&gt;
* libtiff&lt;br /&gt;
* libXt-devel&lt;br /&gt;
* make&lt;br /&gt;
* ORBit&lt;br /&gt;
* pam-devel&lt;br /&gt;
* patch&lt;br /&gt;
* perl-CPAN&lt;br /&gt;
* perl-Env&lt;br /&gt;
* rpm&lt;br /&gt;
* rpm-build&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Important&amp;#039;&amp;#039;&amp;#039; &amp;lt;br /&amp;gt;&lt;br /&gt;
Java 1.8 JDK has to be installed due to dependencies for ant, hamcreast and junit.&lt;br /&gt;
&lt;br /&gt;
== Building a release version ==&lt;br /&gt;
&lt;br /&gt;
Additional things that need to done when building a release version out of a SVN branch (e.g., AOO 4.1.3 from &amp;quot;AOO413&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
=== Packages ===&lt;br /&gt;
&lt;br /&gt;
The following packages (incl. their dependencies) that need to be available or installed additionally:&lt;br /&gt;
&lt;br /&gt;
* dpkg&lt;br /&gt;
* dbus-glib-devel&lt;br /&gt;
* GConf2-devel&lt;br /&gt;
* gnome-vfs2&lt;br /&gt;
* gnome-vfs2-devel&lt;br /&gt;
* gstreamer-devel&lt;br /&gt;
* gstreamer-plugins-base-devel&lt;br /&gt;
* mesa-libGLU-devel&lt;br /&gt;
* ORBit2&lt;br /&gt;
* ORBit2-devel&lt;br /&gt;
* perl-Archive-Zip&lt;br /&gt;
* perl-Crypt-SSLeay&lt;br /&gt;
* perl-Digest-MD5&lt;br /&gt;
* perl-Digest-SHA&lt;br /&gt;
* perl-libwww-perl&lt;br /&gt;
* perl-LWP-Protocol-https&lt;br /&gt;
* perl-XML-Parser&lt;br /&gt;
&lt;br /&gt;
=== Configure ===&lt;br /&gt;
&lt;br /&gt;
The configure options for a release build can be found here:&lt;br /&gt;
&lt;br /&gt;
http://svn.apache.org/viewvc/openoffice/devtools/build-scripts/4.1.3/unxlngix6/build_aoo64bit_on_centos5.sh&lt;br /&gt;
&lt;br /&gt;
== Performance results ==&lt;br /&gt;
&lt;br /&gt;
* Intel Core i7-4710HQ 2.5 GHz (8 cores)&lt;br /&gt;
* 16 GB RAM, 256 GB SSD&lt;br /&gt;
* Fedora 21 x86-64 (Kernel 4.1.13-100.fc21.x86_64, glibc 2.20-8)&lt;br /&gt;
&lt;br /&gt;
=== Trunk ===&lt;br /&gt;
&lt;br /&gt;
* Build command:&lt;br /&gt;
  &amp;lt;code&amp;gt;$ build --all -P8 -- -P8&amp;lt;/code&amp;gt;&lt;br /&gt;
* Time for a full build: 01h 05m 41s (as of 2016-10-09&lt;br /&gt;
&lt;br /&gt;
=== AOO413 branch ===&lt;br /&gt;
&lt;br /&gt;
* Build command (with P8 and only &amp;quot;de en-US fr ja pt&amp;quot; as languages):&lt;br /&gt;
  &amp;lt;code&amp;gt;$ build_aoo64bit_on_centos5.sh&amp;lt;/code&amp;gt;&lt;br /&gt;
* Time for a full build: 00h 50m 32s (as of 2016-10-09)&lt;br /&gt;
&lt;br /&gt;
= Fedora 19 and 20 =&lt;br /&gt;
&lt;br /&gt;
== Build Instructions ==&lt;br /&gt;
&lt;br /&gt;
The [[Building|build procedure]] is the same as for other Linux systems.&lt;br /&gt;
&lt;br /&gt;
Required packages:&lt;br /&gt;
&lt;br /&gt;
 $ yum install tcsh perl-Archive-Zip gcc gcc-c++ cups-devel \&lt;br /&gt;
               pam-devel java-1.7.0-openjdk-devel gperf freetype-devel \&lt;br /&gt;
               gtk2-devel libIDL-devel libXaw-devel bison patch GConf2-devel \&lt;br /&gt;
               gnome-vfs2-devel ant make tar rpm-build flex junit4 \&lt;br /&gt;
               perl-LWP-UserAgent-Determined perl-XML-Parser \&lt;br /&gt;
               perl-Digest-SHA ORBit2-devel perl-LWP-Protocol-https&lt;br /&gt;
&lt;br /&gt;
Build notes:&lt;br /&gt;
&lt;br /&gt;
* The perl-Digest-SHA dependency is not caught until bootstrap&lt;br /&gt;
* The ORBit2-devel dependency is not caught until building the &amp;quot;shell&amp;quot; module&lt;br /&gt;
* Build breaks in &amp;quot;hsqldb&amp;quot;: to build with Java7, you need to apply the patch at https://issues.apache.org/ooo/attachment.cgi?id=80961&amp;amp;action=diff&lt;br /&gt;
* Build breaks in &amp;quot;moz&amp;quot;: configure with --disable-mozilla to work around it.&lt;br /&gt;
&lt;br /&gt;
= Fedora 10 and 14 =&lt;br /&gt;
&lt;br /&gt;
== Build Instructions ==&lt;br /&gt;
&lt;br /&gt;
The [[Building|build procedure]] is the same as for other Linux systems.&lt;br /&gt;
&lt;br /&gt;
Required packages:&lt;br /&gt;
&lt;br /&gt;
 $ yum install tcsh perl-Archive-Zip gcc gcc-c++ cups-devel \&lt;br /&gt;
               pam-devel java-1.6.0-openjdk-devel gperf freetype-devel \&lt;br /&gt;
               gtk2-devel libIDL-devel libXaw-devel bison patch GConf2-devel \&lt;br /&gt;
               gnome-vfs2-devel ant make&lt;br /&gt;
&lt;br /&gt;
== Quick start guide ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;Still valid?&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
$ yum -y install mono-devel perl-Archive-Zip ant bison \&lt;br /&gt;
         flex pam-devel cups-devel gperf libxslt-devel openldap-devel \&lt;br /&gt;
         firefox-devel xorg-x11-devel gstreamer-devel \&lt;br /&gt;
         gstreamer-plugins-base-devel db4-devel unixODBC-devel \&lt;br /&gt;
         xml-commons-jaxp-1.3-apis xalan-j2 boost-devel \&lt;br /&gt;
         unixODBC-devel qt-devel subversion autoconf automake \&lt;br /&gt;
         gtk2-devel gcc-c++  gnome-vfs2-devel rpm-build \&lt;br /&gt;
         expat-devel python-devel curl-devel&lt;br /&gt;
&lt;br /&gt;
$ ./autogen.sh -with-distro=SUSE \&lt;br /&gt;
         --with-jdk-home=/usr/lib/jvm/java-1.5.0-gcj \&lt;br /&gt;
         --with-ant-home=/usr/share/ant \&lt;br /&gt;
         --with-system-mozilla=firefox \&lt;br /&gt;
         --disable-Xaw \&lt;br /&gt;
         --disable-kde \&lt;br /&gt;
         --disable-mono \&lt;br /&gt;
         --enable-opengl --enable-ogltrans \&lt;br /&gt;
         --disable-neon \&lt;br /&gt;
         --enable-debug&lt;br /&gt;
&lt;br /&gt;
Another list:&lt;br /&gt;
* http://people.redhat.com/caolanm/ooocvs/makefc3chroot&lt;br /&gt;
&lt;br /&gt;
Blog about building ooo-build on Fedora 7:&lt;br /&gt;
* http://openofficeorgfoo.blogspot.com/2007/12/building-ooo-build-from-source.html&lt;br /&gt;
&lt;br /&gt;
== Fedora packaging ==&lt;br /&gt;
&lt;br /&gt;
=== Fedora 14 ===&lt;br /&gt;
&lt;br /&gt;
The Fedora 14 spec file can be found at http://koji.fedoraproject.org/koji/buildinfo?buildID=276232 (download the srpm, and uncompress it (rpm2cpio &amp;lt;file&amp;gt; | cpio -idv) ); you&amp;#039;ll see the single spec file openoffice.org.spec ; note that it doesn&amp;#039;t build cleanly, you need to apply the patch from https://issues.apache.org/ooo/show_bug.cgi?id=114999&lt;br /&gt;
&lt;br /&gt;
=== Fedora 19 ===&lt;br /&gt;
&lt;br /&gt;
* HSQLDB does not build with Java 7: see https://issues.apache.org/ooo/show_bug.cgi?id=121754 for the relevant patches.&lt;br /&gt;
* Spec files for dmake and epm by Fred Ollinger are at https://github.com/fredollinger/aooo-fedora-rawhide&lt;br /&gt;
* A note from Ariel about dictionaries: http://mail-archives.apache.org/mod_mbox/openoffice-dev/201303.mbox/%3C20130329145345.GC2969%40localhost%3E&lt;br /&gt;
&lt;br /&gt;
= Windows 7, Windows 8.1, Windows 10 =&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Complete requirements found at [https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO#General_Build_Requirements General Build Requirements] and [https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Building_on_Windows Building on Windows].&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
This is a &amp;#039;&amp;#039;&amp;#039;sample&amp;#039;&amp;#039;&amp;#039; step-by-step guide - check the complete requirements and report on dev@openoffice.apache.org, if problems with this step-by-step guide occur.&lt;br /&gt;
&lt;br /&gt;
*Install Cygwin, &amp;#039;&amp;#039;&amp;#039;32-bit version&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
**Browse to [https://www.cygwin.com https://www.cygwin.com] and click on the setup-x86.exe link to download the most recent 32-bit version (the most recent Cygwin DLL at the moment is 2.11.2) or use [https://www.cygwin.com/setup-x86.exe this direct link]&lt;br /&gt;
**Run the installer and click through the questions&lt;br /&gt;
**On the &amp;quot;Choose A Download Site&amp;quot; select a nearby download server&lt;br /&gt;
**Expect a &amp;quot;Setup Alert&amp;quot; dialog box on the first cygwin install on the computer: click OK to close it&lt;br /&gt;
**On the page that allows you to select additional packages select: &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt; From the &amp;#039;&amp;#039;&amp;#039;Archive&amp;#039;&amp;#039;&amp;#039; category: &amp;lt;pre&amp;gt;zip, unzip&amp;lt;/pre&amp;gt; From the &amp;#039;&amp;#039;&amp;#039;Devel&amp;#039;&amp;#039;&amp;#039; category: &amp;lt;pre&amp;gt;autoconf, gperf, gcc-g++, bison, flex, patch, subversion, make&amp;lt;/pre&amp;gt; From the &amp;#039;&amp;#039;&amp;#039;Net&amp;#039;&amp;#039;&amp;#039; category: &amp;lt;pre&amp;gt;rsync&amp;lt;/pre&amp;gt;From the &amp;#039;&amp;#039;&amp;#039;Perl&amp;#039;&amp;#039;&amp;#039; category: &amp;lt;pre&amp;gt;perl, perl-XML-SAX-Expat, perl-Archive-Zip, perl-LWP-Protocol-https, perl-XML-parser, perl-libwww-perl, perl-Digest-SHA, perl-Net-SSLeay&amp;lt;/pre&amp;gt;As a shortcut you can install everything needed with one command:&amp;lt;pre&amp;gt;setup-x86.exe -P zip -P unzip -P autoconf -P gperf -P gcc-g++ -P bison -P flex -P patch -P subversion -P make -P rsync -P perl -P perl-XML-SAX-Expat -P perl-Archive-Zip -P perl-LWP-Protocol-https -P perl-XML-parser -P perl-libwww-perl -P perl-Digest-SHA -P perl-Net-SSLeay&amp;lt;/pre&amp;gt;If you will use git, you need in addition from the &amp;#039;&amp;#039;&amp;#039;Devel&amp;#039;&amp;#039;&amp;#039; category the packages:&amp;lt;pre&amp;gt;git, git-svn&amp;lt;/pre&amp;gt;&amp;lt;i&amp;gt;(If you prefer to install packages with a Linux kind of touch, you can skip selecting the packages and instead select just the package &amp;lt;b&amp;gt;lynx&amp;lt;/b&amp;gt; (enter lynx in the Search box and select the lynx entry in the Web/Default section). You would then install the other packages from the cygwin command line using lynx as explained ahead. However, selecting the packages from the Cygwin interface is recommended.)&amp;lt;/i&amp;gt;&lt;br /&gt;
**Click Next to finish package selection.&lt;br /&gt;
**Click Next to resolve dependencies.&lt;br /&gt;
**After installation is finished click the Finish button to close the dialog.&lt;br /&gt;
&lt;br /&gt;
*Start Cygwin bash in a terminal&lt;br /&gt;
&lt;br /&gt;
::In Windows 7 and later you can just type &amp;quot;cygwin&amp;quot; into the Start Menu search bar and then click on the Cygwin App. Or you can:&lt;br /&gt;
::*Press WindowsKey-R&lt;br /&gt;
::*Type &amp;quot;C:\cygwin\Cygwin.bat&amp;quot; (if that&amp;#039;s the path you installed Cygwin to)&lt;br /&gt;
::*Hit Return.&lt;br /&gt;
:::&amp;lt;i&amp;gt;(If you haven&amp;#039;t installed the necessary packages from the Cygwin interface yet because you would prefer to install them using lynx from the Cygwin command line, then you should do so now. First install &amp;lt;b&amp;gt;apt-cyg&amp;lt;/b&amp;gt; from the Github repository:)&amp;lt;pre&amp;gt;cd /cygdrive/c/temp&amp;lt;/pre&amp;gt;(or any other temporary directory of your choice)&amp;lt;pre&amp;gt;lynx -source rawgit.com/transcode-open/apt-cyg/master/apt-cyg &amp;gt; apt-cyg&amp;amp;#10;chmod +x apt-cyg&amp;amp;#10;mv apt-cyg /usr/local/bin/&amp;lt;/pre&amp;gt;Use &amp;lt;b&amp;gt;apt-cyg&amp;lt;/b&amp;gt; to install missing cygwin packages:&amp;lt;pre&amp;gt;apt-cyg install perl zip unzip gperf autoconf rsync gcc-g++ bison flex patch subversion make&amp;lt;/pre&amp;gt;(You must also provide to install the missing perl packages, for example with &amp;quot;cpan -i Archive::Zip LWP::UserAgent LWP::Protocol XML::Parser&amp;quot; etc. however there can be some dependency conflicts, the recommended method is installing the packages from the cygwin interface)&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Replace symlinked awk with copy of gawk.exe:&amp;lt;pre&amp;gt;rm /usr/bin/awk&amp;amp;#10;mv /usr/bin/gawk.exe /usr/bin/awk.exe&amp;lt;/pre&amp;gt;Note that if the &amp;lt;code&amp;gt;rm&amp;lt;/code&amp;gt; command fails then the &amp;lt;code&amp;gt;mv&amp;lt;/code&amp;gt; is not necessary.&lt;br /&gt;
&lt;br /&gt;
* Install Java, &amp;#039;&amp;#039;&amp;#039;32-bit version&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
::Choose between JDK or OpenJDK. Versions 1.7 and 1.8 are known to work.&lt;br /&gt;
::(We need the 32-bit version because JNI requires the JVM&amp;#039;s bitness to match the C/C++ bitness).&lt;br /&gt;
&lt;br /&gt;
* Install Apache Ant&lt;br /&gt;
**Browse to https://ant.apache.org/bindownload.cgi&lt;br /&gt;
**Chose a mirror near you.&lt;br /&gt;
**Download the zip archive (currently that is apache-ant-1.9.13-bin.zip or apache-ant-1.10.5-bin.zip).&amp;lt;br /&amp;gt; Note that Apache Ant 1.10.x will only work with Java 8.&lt;br /&gt;
**Open downloaded archive in file explorer and unzip it to a location of your choice, eg &amp;lt;code&amp;gt;c:\&amp;lt;/code&amp;gt;.  Note that &amp;lt;code&amp;gt;C:\Program Files (x86)&amp;lt;/code&amp;gt; will not work due to problems of quoting the spaces and parentheses.&lt;br /&gt;
    &lt;br /&gt;
* Install Microsoft Windows SDK for Windows 7 and .NET Framework 3.5. SP1 (recommended by Microsoft. Note: later versions of the Windows SDK will not work. AOO can not be built with MSVC 2010 or 2012 - MSVC 2008 is needed and is found in the Windows 7 SDK) &lt;br /&gt;
** Browse to http://www.microsoft.com/en-us/download/details.aspx?id=3138.&lt;br /&gt;
** Download winsdk_web.exe and run the web installer. You can use the default values in the installation dialog, except when prompted with the installation path use a path that has no spaces or parentheses (e.g. &amp;quot;C:\Microsoft_SDKs\Windows\v7.0&amp;quot;), because otherwise the build process will choke on those spaces or parentheses.&lt;br /&gt;
** Alternatively download the iso image http://www.microsoft.com/en-us/download/details.aspx?id=18950. Burn it to a dvd or unzip it.&lt;br /&gt;
&lt;br /&gt;
* Download MS Visual C++ 2008 SP1 Redistributable Package (x86)&lt;br /&gt;
** https://www.microsoft.com/en-us/download/details.aspx?id=26368 (There have been security updates, which are not included in older versions)&lt;br /&gt;
**Download files vcredist_x86.exe and vcredist_x64.exe&amp;lt;br /&amp;gt; We need both 32 and 64-bit versions because we build 64-bit shell extensions. If you download the most recent version of Apache OpenOffice and unpack it, you will find the files vcredist_x86.exe and vcredist_x64.exe in folder redist. You can use them as well.&lt;br /&gt;
&lt;br /&gt;
* Optional: Install DirectX SDK (for graphics hardware support in the slide show)&lt;br /&gt;
** Browse to http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&amp;amp;id=6812&lt;br /&gt;
** Download and run DXSDK_Jun10.exe. Choose to install to a custom path, and use a path that has neither spaces nor parentheses (e.g. &amp;lt;code&amp;gt;C:\Microsoft_DirectX_SDK_June_2010&amp;lt;/code&amp;gt;), because otherwise the build will not be able to parse the path and will choke on the spaces or parentheses. &amp;lt;i&amp;gt;(If you receive an S1023 error towards the end of the installation, [https://support.microsoft.com/it-it/kb/2728613 the fix is simple]. The issue occurs because a newer version of the Visual C++ 2010 Redistributable is present on the computer. The June 2010 DirectX SDK installs version 10.0.30319 of the Visual C++ Redistributable. To resolve this issue, you must uninstall all versions of the Visual C++ 2010 Redistributable before installing the June 2010 DirectX SDK. You may have one or more of the following products installed: Visual C++ 2010 Redistributable x86, Visual C++ 2010 Redistributable x64.  You can use Add or Remove Programs in Control Panel to uninstall the products. Or, you can run the following commands from an administrator command prompt: &amp;lt;pre&amp;gt;MsiExec.exe /passive /X{F0C3E5D1-1ADE-321E-8167-68EF0DE699A5} &amp;amp;#10;MsiExec.exe /passive /X{1D8E6291-B0D5-35EC-8441-6616F567A0F7}&amp;lt;/pre&amp;gt; and then run the DirectX SDK installer. After installing the June 2010 DirectX SDK, you may then reinstall the most current version of the [http://www.microsoft.com/download/details.aspx?id=26999 Visual C++ 2010 Redistributable Package].)&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Optional: Install Windows Driver Kit 7.1.0 (for enabling activex)&lt;br /&gt;
** Download [http://www.microsoft.com/en-us/download/details.aspx?id=11800 WDK 7.1.0] (is an ISO image). Cannot use later versions of Windows Driver Kit because they do not have ATL which is needed to build AOO with ActiveX. (I recommend to download using Internet Explorer, otherwise the install may fail a Windows Authenticity test, whereas this does not happen using Internet Explorer to download the ISO image.)&lt;br /&gt;
** Mount the ISO image and install.&lt;br /&gt;
&lt;br /&gt;
* Optional: Install NSIS installer (for creating the EXE installer)&lt;br /&gt;
** Browse to [https://sourceforge.net/projects/nsis/files/ https://sourceforge.net/projects/nsis/files/]&lt;br /&gt;
** Download and run the installer (note that versions of NSIS &amp;gt;= 3.* are only compatible with branch 4.1.3 or later! otherwise you will have to install at most [https://sourceforge.net/projects/nsis/files/NSIS%202/2.51/nsis-2.51-setup.exe/download NSIS 2.51]). Recommended to install to custom location, choose a path without any spaces (e.g. &amp;quot;C:\NSIS&amp;quot;).&lt;br /&gt;
** For Asian languages (ja, ko, zh-CN, zh-TW) the language files have to be edited, otherwise the graphics in the first installer windows don&amp;#039;t fit. In &amp;quot;{NSISDIR}\Contrib\Language files\Japanese.nlf&amp;quot; (Korean.nlf, TradChinese.nlf, SimpChinese.nlf accordingly) change: &amp;lt;pre&amp;gt;Font and size - dash (-) means default&amp;amp;#10;{font-name}&amp;amp;#10;{font-size}&amp;lt;/pre&amp;gt; to:&amp;lt;pre&amp;gt;Font and size - dash (-) means default&amp;amp;#10;-&amp;amp;#10;-&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* Optional: Install the MozillaBuild tools. These are needed to build the &amp;lt;b&amp;gt;NSS&amp;lt;/b&amp;gt; (&amp;quot;Network Security Services&amp;quot;) module. Download from [https://ftp.mozilla.org/pub/mozilla/libraries/win32/ here]. Install to a custom path without any spaces, such as &amp;lt;code&amp;gt;C:\mozilla-build&amp;lt;/code&amp;gt;. MozillaBuild tools version 3.0 or newer require a 64-bit Windows. When building on 32-bit Windows it is recommended to use version 2.2.0.&lt;br /&gt;
&lt;br /&gt;
* Get AOO source code. You can use the source release or check out from SVN. Build from source release if you want to build OpenOffice once but don&amp;#039;t want to contribute patches. If you will contribute patches, you need to generate them against an actual version of trunk. In this case check out from SVN to be able to rebase before generating patches. You can work with subversion or with git-svn. Do not use a tool that changes line endings, such as the default configuration of TortoiseSVN. NOTE: Do not place the source directory under the Cygwin file system. This means that placing it, for example, at &amp;#039;/home/aoo/source&amp;#039; is not recommended.&lt;br /&gt;
&lt;br /&gt;
::; Source release:&lt;br /&gt;
::* Browse to http://www.openoffice.org/download/other.html#tested-sdk and locate the table row that starts with &amp;quot;Source code&amp;quot;&lt;br /&gt;
::* Download source code in an archive format of your choice (note that tar.bz2 is typically smaller than tar.gz and zip)&lt;br /&gt;
::* Optional: Verify the archive - following given link or instructions.&lt;br /&gt;
::* Unpack source (in cygwin-terminal). Use the file name exactly as downloaded.&amp;lt;pre&amp;gt;cd /tmp&amp;amp;#10;tar -xjf &amp;lt;download-location&amp;gt;/&amp;lt;downloaded-source-release.tar.bz2&amp;gt;&amp;amp;#10;cd &amp;lt;unpacked-source&amp;gt;/main&amp;amp;#10;&amp;lt;/pre&amp;gt;Do not use Windows unpacker, they might cause access right problems. &lt;br /&gt;
&lt;br /&gt;
::; Checkout from SVN using subversion :&lt;br /&gt;
::*&amp;lt;i&amp;gt;(If you haven&amp;#039;t installed the subversion package from the cygwin interface, please do so now by re-running the cygwin installer, or if you used lynx and apt-cyg then:)&amp;lt;pre&amp;gt;apt-cyg install subversion&amp;lt;/pre&amp;gt;&amp;lt;/i&amp;gt; &lt;br /&gt;
::*Start with creating a parent directory for the source code: &amp;lt;pre&amp;gt;mkdir /cygdrive/c/source&amp;amp;#10;cd /cygdrive/c/source&amp;lt;/pre&amp;gt;&lt;br /&gt;
::*Check out source from Apache SVN repository&amp;lt;pre&amp;gt;svn co https://svn.apache.org/repos/asf/openoffice/trunk aoo-trunk&amp;amp;#10;cd aoo-trunk/main&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
::; Checkout from SVN using git-svn :&lt;br /&gt;
::*&amp;lt;i&amp;gt;(If you haven&amp;#039;t installed git and git-svn from the cygwin interface, please do so now by re-running the cygwin installer, or if you used lynx and apt-cyg then:)&amp;lt;pre&amp;gt;apt-cyg install git git-svn&amp;lt;/pre&amp;gt;&amp;lt;/i&amp;gt;&lt;br /&gt;
::*Get the actual revision number from http://svn.apache.org/viewvc/OpenOffice/trunk/, e.g. 1234567&lt;br /&gt;
::*Create an empty directory and change to it, e.g.&amp;lt;pre&amp;gt;mkdir /cygdrive/c/source&amp;amp;#10;cd /cygdrive/c/source&amp;lt;/pre&amp;gt;&lt;br /&gt;
::*Check out source from Apache SVN repository&amp;lt;pre&amp;gt;git svn clone --revision 1234567:HEAD https://svn.apache.org/repos/asf/openoffice/trunk&amp;amp;#10;cd trunk/main&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Remember the source path (this is optional, it makes for an easy reference):&amp;lt;pre&amp;gt;SourceMain=`pwd`&amp;lt;/pre&amp;gt; [Why? I have not used it. [[User:Regina|Regina]] ([[User talk:Regina|talk]]) 21:42, 24 February 2013 (UTC)]&lt;br /&gt;
:[Added explanation above [[User:Andre|Andre]]]&lt;br /&gt;
&lt;br /&gt;
* Optional: Get dbghelp.dll (for using the &amp;lt;code&amp;gt;--enable-dbgutil&amp;lt;/code&amp;gt; configure option)&lt;br /&gt;
** This dll is part of MS Visual Studio. If you do not have it installed, download and install &amp;quot;Visual Studio Community&amp;quot; from https://www.visualstudio.com/en-us/downloads/download-visual-studio-vs.aspx &lt;br /&gt;
** Copy file to &amp;lt;code&amp;gt;main/external/dbghelp&amp;lt;/code&amp;gt;. Use Windows file manager or in cygwin terminal&amp;lt;pre&amp;gt;cp /cygdrive/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio\ 9.0/Common7/IDE/dbghelp.dll $SourceMain/external/dbghelp&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Copy vcredist_x86.exe and vcredist_x64.exe (see above) to main/external/vcredist.&lt;br /&gt;
** Use Windows file manager or in cygwin terminal&amp;lt;pre&amp;gt;cp &amp;lt;download-location&amp;gt;/vcredist_x86.exe $SourceMain/external/vcredist&amp;amp;#10;cp &amp;lt;download-location&amp;gt;/vcredist_x64.exe $SourceMain/external/vcredist&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Get GDI+ redistributable:&lt;br /&gt;
**Browse to https://www.microsoft.com/en-us/download/details.aspx?id=18909&lt;br /&gt;
**Download WindowsXP-KB975337-x86-ENU.exe&lt;br /&gt;
**Run WindowsXP-KB975337-x86-ENU.exe&lt;br /&gt;
**Enter a temporary path (eg c:\temp\gdiplus) in the dialog and click OK to extract files&lt;br /&gt;
**Copy gdiplus.dll to main/external/gdiplus&amp;lt;pre&amp;gt;cp /cygdrive/c/temp/gdiplus/asms/10/msft/windows/gdiplus/gdiplus.dll $SourceMain/external/gdiplus/&amp;lt;/pre&amp;gt;&lt;br /&gt;
** Remove the temporary path&amp;lt;pre&amp;gt;rm -fr /cygdrive/c/temp/gdiplus&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Get msvcr100.dll:&lt;br /&gt;
**We need the 32-bit dll (version 10.0.40219.325), available from: https://www.microsoft.com/en-US/download/details.aspx?id=26999&amp;lt;pre&amp;gt;cp /cygdrive/c/Windows/System32/msvcr100.dll $SourceMain/external/msvcp100&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Make sure that you are in the main source directory:&amp;lt;pre&amp;gt;cd $SourceMain&amp;lt;/pre&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
* Run autoconf to create the configure script:&amp;lt;pre&amp;gt;autoconf&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Call configure&lt;br /&gt;
** For those paths that do have spaces, use the cygpath tool to get a shortened version without any spaces, which you can then use in the configuration directives without any trouble (adapt paths as necessary):&amp;lt;pre&amp;gt;$ cygpath -m -s &amp;quot;C:\Program Files (x86)\Java\jdk1.8.0_73&amp;quot; &amp;amp;#10;C:/PROGRA~2/Java/JDK18~1.0_7 &amp;amp;#10;$ cygpath -m -s &amp;quot;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC&amp;quot; &amp;amp;#10;C:/PROGRA~2/MI1DCA~1.0/VC&amp;lt;/pre&amp;gt;Run configure (again adapt paths as necessary)&amp;lt;pre&amp;gt;SDK_PATH=&amp;quot;/cygdrive/c/Microsoft_SDKs/Windows/v7.0&amp;quot;&amp;amp;#10;./configure \&amp;amp;#10;    --with-frame-home=&amp;quot;$SDK_PATH&amp;quot; \&amp;amp;#10;    --with-psdk-home=&amp;quot;$SDK_PATH&amp;quot; \&amp;amp;#10;    --with-midl-path=&amp;quot;$SDK_PATH/bin&amp;quot; \&amp;amp;#10;    --with-ant-home=&amp;quot;/cygdrive/c/apache-ant-1.9.13&amp;quot; \&amp;amp;#10;    --with-jdk-home=&amp;quot;C:/PROGRA~2/Java/JDK18~1.0_7&amp;quot; \&amp;amp;#10;    --with-csc-path=&amp;quot;C:/Windows/Microsoft.NET/Framework/v3.5&amp;quot; \&amp;amp;#10;    --with-cl-home=&amp;quot;C:/PROGRA~2/MI1DCA~1.0/VC&amp;quot; \&amp;amp;#10;    --with-asm-home=&amp;quot;C:/PROGRA~2/MI1DCA~1.0/VC/bin&amp;quot; \&amp;amp;#10;    --with-dmake-url=&amp;quot;https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2&amp;quot; \&amp;amp;#10;    --disable-pch \&amp;amp;#10;    --disable-atl \&amp;amp;#10;    --disable-activex \&amp;amp;#10;    --disable-nss-module \&amp;amp;#10;    --without-junit&amp;lt;/pre&amp;gt;If you have installed the optional DirectX SDK then you can add the switch:&amp;lt;pre&amp;gt;    --with-directx-home=&amp;quot;C:/Microsoft_DirectX_SDK_June_2010&amp;quot;&amp;lt;/pre&amp;gt;If you have installed Windows Driver Kit 7.1.0 and would like to build with ATL and ActiveX functionality then remove the &amp;lt;code&amp;gt;--disable-activex&amp;lt;/code&amp;gt; and the &amp;lt;code&amp;gt;--disable-atl&amp;lt;/code&amp;gt; directives, and add the atl home directives: &amp;lt;pre&amp;gt;    --with-atl-include-dir=/cygdrive/c/WinDDK/7600.16385.1/inc/atl71 \&amp;amp;#10;    --with-atl-lib-dir=/cygdrive/c/WinDDK/7600.16385.1/lib/ATL/i386 \&amp;amp;#10;    --with-mfc-include-dir=/cygdrive/c/WinDDK/7600.16385.1/inc/mfc42 \&amp;amp;#10;    --with-mfc-lib-dir=/cygdrive/c/WinDDK/7600.16385.1/lib/Mfc/i386&amp;lt;/pre&amp;gt;If you have installed NSIS you can use the relative directive &amp;lt;pre&amp;gt;    --with-nsis-path=&amp;quot;C:/NSIS&amp;quot;&amp;lt;/pre&amp;gt;If you have installed MozillaBuild tools you can use the relative switch:&amp;lt;pre&amp;gt;    --with-mozilla-build=&amp;quot;/cygdrive/d/mozilla-build&amp;quot;&amp;lt;/pre&amp;gt;You may also enable a few more switches (used for official releases: --enable-win-x64-shellext):&amp;lt;pre&amp;gt;    --enable-win-x64-shellext \&amp;amp;#10;    --enable-wiki-publisher \&amp;amp;#10;    --enable-category-b \&amp;amp;#10;    --enable-bundled-dictionaries&amp;lt;/pre&amp;gt;and if you would like to build for different locales you can use the lang switch (in this example, for English United States and for Italian):&amp;lt;pre&amp;gt;    --with-lang=&amp;quot;en-US it&amp;quot;&amp;lt;/pre&amp;gt;If you have copied over the dbghelp.dll and would like these extra features you can enable the debug switch:&amp;lt;pre&amp;gt;    --enable-dbgutil&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Finish configuration and download missing external source tarballs and extensions&amp;lt;pre&amp;gt;./bootstrap&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Include the configured environment&amp;lt;pre&amp;gt;source winenv.set.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Build&amp;lt;pre&amp;gt;cd instsetoo_native/&amp;amp;#10;build --all&amp;lt;/pre&amp;gt;Depending on your computer this will take one or more hours to finish. You may want to experiment with the -P options for multi process builds to reduce the build time. &amp;lt;pre&amp;gt;build --all -P&amp;lt;m&amp;gt; -- -P&amp;lt;n&amp;gt;&amp;lt;/pre&amp;gt; tells build to use &amp;lt;code&amp;gt;m&amp;lt;/code&amp;gt; processes (build up to &amp;lt;code&amp;gt;m&amp;lt;/code&amp;gt; modules in parallel) and &amp;lt;code&amp;gt;n&amp;lt;/code&amp;gt; threads for each module.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install&amp;lt;br/&amp;gt;There are three options:&lt;br /&gt;
*# Regular install with integration into Windows.&amp;lt;br/&amp;gt;This allows only one instance of AOO to be installed.&lt;br /&gt;
*#* Start setup.exe and click through dialog:&amp;lt;br/&amp;gt;&amp;lt;pre&amp;gt;$SourceMain/instsetoo_native/wntmsci12.pro/OpenOffice/msi/install/en-US/setup.exe&amp;lt;/pre&amp;gt;&lt;br /&gt;
*#* Apache OpenOffice can be started via the Windows start menu.&lt;br /&gt;
*# Install without integration into Windows.&amp;lt;br/&amp;gt;This allows several instance of AOO, based on the same version, to be installed side by side.&amp;lt;br/&amp;gt;It still requires Administrator permissions.&lt;br /&gt;
*#* Start &amp;lt;code&amp;gt;setup.exe&amp;lt;/code&amp;gt; with option &amp;lt;code&amp;gt;-a&amp;lt;/code&amp;gt;:&amp;lt;br/&amp;gt;&amp;lt;pre&amp;gt;$SourceMain/instsetoo_native/wntmsci12.pro/OpenOffice/msi/install/en-US/setup.exe -a&amp;lt;/pre&amp;gt;&lt;br /&gt;
*#* Enter an installation path into the dialog and click through the dialog to finish installation.&lt;br /&gt;
*#* Start AOO by running&amp;lt;br/&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;installation-path&amp;gt;/program/soffice.exe&amp;lt;/pre&amp;gt;&lt;br /&gt;
*# Unpack archive without installation.&amp;lt;br/&amp;gt;This does not require Administrator permissions&lt;br /&gt;
*#* Go to installation directory:&amp;lt;br/&amp;gt;&amp;lt;pre&amp;gt;cd &amp;lt;installation-target&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
*#* Unzip archive:&amp;lt;br/&amp;gt;&amp;lt;pre&amp;gt;unzip $SourceMain/instsetoo_native/wntmsci12.pro/Apache_OpenOffice/msi/install/en-US/Apache_OpenOffice_4.1.4_Win_x86_install-arc_en-US.zip&amp;lt;/pre&amp;gt;&lt;br /&gt;
*#* Start AOO by running:&amp;lt;br/&amp;gt;&amp;lt;pre&amp;gt;./Apache_OpenOffice_4.1.4_Win_x86_install-arc_en-US/program/soffice.exe&amp;lt;/pre&amp;gt;&lt;br /&gt;
::: (Change the version number in the file name to match the version you built)&lt;br /&gt;
&lt;br /&gt;
== Build with Cygwin 64-bit ==&lt;br /&gt;
&lt;br /&gt;
Note: Building AOO with Cygwin 64-bit will only work with latest trunk, it will &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; work with any 4.1.x branch!&lt;br /&gt;
&lt;br /&gt;
* Install Cygwin, &amp;#039;&amp;#039;&amp;#039;64-bit version&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
** Browse to [https://www.cygwin.com https://www.cygwin.com] and click on the setup-x86_64.exe link to download the most recent 64-bit version (the most recent Cygwin DLL at the moment is 2.11.2) or use [https://www.cygwin.com/setup-x86_64.exe this direct link]&lt;br /&gt;
** Run the installer and click through the questions&lt;br /&gt;
** On the &amp;quot;Choose A Download Site&amp;quot; select a nearby download server&lt;br /&gt;
** Expect a &amp;quot;Setup Alert&amp;quot; dialog box on the first cygwin install on the computer: click OK to close it&lt;br /&gt;
** On the page that allows you to select additional packages select: &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt; From the &amp;#039;&amp;#039;&amp;#039;Archive&amp;#039;&amp;#039;&amp;#039; category: &amp;lt;pre&amp;gt;zip, unzip&amp;lt;/pre&amp;gt; From the &amp;#039;&amp;#039;&amp;#039;Devel&amp;#039;&amp;#039;&amp;#039; category: &amp;lt;pre&amp;gt;autoconf, gperf, gcc-g++, bison, flex, patch, subversion, make&amp;lt;/pre&amp;gt; From the &amp;#039;&amp;#039;&amp;#039;Net&amp;#039;&amp;#039;&amp;#039; category: &amp;lt;pre&amp;gt;rsync&amp;lt;/pre&amp;gt;From the &amp;#039;&amp;#039;&amp;#039;Perl&amp;#039;&amp;#039;&amp;#039; category: &amp;lt;pre&amp;gt;perl, perl-XML-SAX-Expat, perl-Archive-Zip, perl-LWP-Protocol-https, perl-XML-parser, perl-libwww-perl, perl-Digest-SHA, perl-Net-SSLeay&amp;lt;/pre&amp;gt;As a shortcut you can install everything needed with one command:&amp;lt;pre&amp;gt;setup-x86_64.exe -P zip -P unzip -P autoconf -P gperf -P gcc-g++ -P bison -P flex -P patch -P subversion -P make -P rsync -P perl -P perl-XML-SAX-Expat -P perl-Archive-Zip -P perl-LWP-Protocol-https -P perl-XML-parser -P perl-libwww-perl -P perl-Digest-SHA -P perl-Net-SSLeay&amp;lt;/pre&amp;gt;If you will use git, you need in addition from the &amp;#039;&amp;#039;&amp;#039;Devel&amp;#039;&amp;#039;&amp;#039; category the packages:&amp;lt;pre&amp;gt;git, git-svn&amp;lt;/pre&amp;gt;&lt;br /&gt;
** Click Next to finish package selection.&lt;br /&gt;
** Click Next to resolve dependencies.&lt;br /&gt;
** After installation is finished click the Finish button to close the dialog.&lt;br /&gt;
&lt;br /&gt;
* Start Cygwin bash in a terminal and follow all the steps for 32-bit Cygwin up to and including &amp;#039;./configure&amp;#039; with relative parameters&lt;br /&gt;
** Finish configuration and download missing external source tarballs and extensions&amp;lt;pre&amp;gt;./bootstrap&amp;lt;/pre&amp;gt;&lt;br /&gt;
** Include the configured environment&amp;lt;pre&amp;gt;source winenv.set.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
** Build&amp;lt;pre&amp;gt;cd instsetoo_native/&amp;amp;#10;build --all&amp;lt;/pre&amp;gt;Depending on your computer this will take one or more hours to finish. You may want to experiment with the -P options for multi process builds to reduce the build time. &amp;lt;pre&amp;gt;build --all -P&amp;lt;m&amp;gt; -- -P&amp;lt;n&amp;gt;&amp;lt;/pre&amp;gt; tells build to use &amp;lt;code&amp;gt;m&amp;lt;/code&amp;gt; processes (build up to &amp;lt;code&amp;gt;m&amp;lt;/code&amp;gt; modules in parallel) and &amp;lt;code&amp;gt;n&amp;lt;/code&amp;gt; threads for each module.&lt;br /&gt;
&lt;br /&gt;
=Mac OS X=&lt;br /&gt;
In order to build OpenOffice on Mac OS X see [[Documentation/Building Guide AOO/Building on MacOsX|Building on MacOSX]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:Porting]]&lt;br /&gt;
[[Category:Build_System]]&lt;/div&gt;</summary>
		<author><name>Mechtilde</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Documentation/Building_Guide_AOO/Step_by_step&amp;diff=245520</id>
		<title>Documentation/Building Guide AOO/Step by step</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Documentation/Building_Guide_AOO/Step_by_step&amp;diff=245520"/>
		<updated>2019-02-06T09:14:04Z</updated>

		<summary type="html">&lt;p&gt;Mechtilde: /* Configure */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:Step by step building guides for different platforms}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
This page is intended as a collection of simple step-by-step recipes to build Apache OpenOffice from source code.  A more thorough explanation of what the individual steps do and why they are necessary can be found in the [[Documentation/Building_Guide_AOO|building guide]].&lt;br /&gt;
&lt;br /&gt;
=Ubuntu 16.04=&lt;br /&gt;
 {{DraftPage|EN}}&lt;br /&gt;
The process to build {{AOo|EN}} is currently undergoing experimentation. As steps are firmed up they will be added here.&lt;br /&gt;
&lt;br /&gt;
=Ubuntu 14.04=&lt;br /&gt;
&lt;br /&gt;
Ubuntu 14.04 is our secondary build platform for our complimentary community Linux 32 and 64 bit platforms, CentOS7 being our primary.&lt;br /&gt;
The basic building steps under Ubuntu 12.04 (see below) are to be followed in Ubuntu 14.04 as well; however, there are some minor build issues that any developer, using this OS, needs to be aware of, if he gets stuck while building. The following is the list of issues, with their fixes, that a developer may face with:&lt;br /&gt;
&lt;br /&gt;
* Issue 125475; see the link https://issues.apache.org/ooo/show_bug.cgi?id=125475 for detailed information. This happens if you explicitly upgraded your GCC and related tools to version 4.9; it will not appear if you use GCC 4.8.x.&lt;br /&gt;
&lt;br /&gt;
As the BZ says, it is because of buggy toolchain g++4.9. So for now in Ubuntu Linux 14.04, build the source using g++4.8.2, gcc4.8.2; these are the default compilers in Ubuntu Linux 14.04 anyway; please check it using the following commands:&lt;br /&gt;
&lt;br /&gt;
  g++ -v&lt;br /&gt;
  gcc -v&lt;br /&gt;
&lt;br /&gt;
if not, you&amp;#039;ve to download them.&lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install g++-4.8&lt;br /&gt;
  cd /usr/bin&lt;br /&gt;
  rm gcc&lt;br /&gt;
  rm g++&lt;br /&gt;
  ln -s gcc-4.8 gcc&lt;br /&gt;
  ln -s g++-4.8 g++&lt;br /&gt;
&lt;br /&gt;
* Updated Install requirements. In addition to those listed for Ubuntu 12.04:&lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install openjdk-7-jdk fakeroot&lt;br /&gt;
&lt;br /&gt;
* Failed to find ./solver/420/unxlngx6.pro/lib/x86_64-linux-gnu/libstdc++.so.6.0.20 error.&lt;br /&gt;
&lt;br /&gt;
  cp /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20 ./solver/420/unxlngx6.pro/lib/&lt;br /&gt;
  rm ./solver/420/unxlngx6.pro/lib/libstdc++.so.6&lt;br /&gt;
  ln -s ./solver/420/unxlngx6.pro/lib/libstdc++.so.6.0.20 ./solver/420/unxlngx6.pro/lib/libstdc++.so.6&lt;br /&gt;
&lt;br /&gt;
* No such file or directory - connectivity/virtualdbtools.hxx while building svx.&lt;br /&gt;
&lt;br /&gt;
if you get an error like this, then that means connectivity is not built properly. Build connectivity using build --all:connectivity and this error will go away.&lt;br /&gt;
&lt;br /&gt;
==Build and Packaging tools==&lt;br /&gt;
&lt;br /&gt;
Download, configure, build and install dmake and epm&lt;br /&gt;
 $ wget https://github.com/jimjag/dmake/archive/dmake-4.12.3.tar.gz&lt;br /&gt;
 $ tar -xzf dmake-4.12.3.tar.gz&lt;br /&gt;
 $ cd dmake-dmake-4.12.3&lt;br /&gt;
 $ ./configure --prefix=/usr/local; make install&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 $ wget https://github.com/jimjag/epm/archive/epm-4.4.2.tar.gz&lt;br /&gt;
 $ cd epm-epm-4.4.2&lt;br /&gt;
 $ ./configure --prefix=/usr/local --enable-aoo; make install&lt;br /&gt;
&lt;br /&gt;
=Ubuntu 12.04=&lt;br /&gt;
&lt;br /&gt;
* Setup VirtualBox with Ubuntu 12.04 64 bit on Windows7 64bit host.  A native installation is of course fine, too.&lt;br /&gt;
* Let updater update ca. 380 packages. Restart.&lt;br /&gt;
* Get the source.  You can start with the source release or by checking out from SVN:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;prettytable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Source release&lt;br /&gt;
! SVN&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| Build from source release if you want to build OpenOffice once but don&amp;#039;t want to do any development.&lt;br /&gt;
| Build from SVN if you want to development work with OpenOffice.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &lt;br /&gt;
&lt;br /&gt;
* Download AOO 4.1.3 source tarball from&lt;br /&gt;
https://www.apache.org/dyn/closer.lua/openoffice/4.1.3/source/apache-openoffice-4.1.3-r1761381-src.tar.bz2&lt;br /&gt;
&lt;br /&gt;
* Optional: Download signature from&lt;br /&gt;
https://archive.apache.org/dist/openoffice/4.1.3/source/apache-openoffice-4.1.3-r1761381-src.tar.bz2.asc&lt;br /&gt;
&lt;br /&gt;
and verify the source tarball with&lt;br /&gt;
&lt;br /&gt;
 gpg --verify apache-openoffice-4.1.3-r1761381-src.tar.bz2.asc \&lt;br /&gt;
              apache-openoffice-4.1.3-r1761381-src.tar.bz2&lt;br /&gt;
&lt;br /&gt;
Note that you have to have the keys already imported to your key chain. The keys can be found on the download page:&lt;br /&gt;
&lt;br /&gt;
https://www.apache.org/dist/openoffice/KEYS&lt;br /&gt;
&lt;br /&gt;
* Unpack source:&lt;br /&gt;
  cd /tmp&lt;br /&gt;
  tar -xjf ~/Downloads/apache-openoffice-4.1.3-r1761381-src.tar.bz2&lt;br /&gt;
  cd aoo-4.1.3/main&lt;br /&gt;
&lt;br /&gt;
| &lt;br /&gt;
&lt;br /&gt;
* Start with creating a parent directory for the source code.  Don&amp;#039;t use &amp;lt;code&amp;gt;/tmp&amp;lt;/code&amp;gt; because that is deleted on every boot:&lt;br /&gt;
&lt;br /&gt;
  sudo mkdir /source&lt;br /&gt;
  sudo chown &amp;lt;your-user-name&amp;gt; /source&lt;br /&gt;
  cd /source&lt;br /&gt;
&lt;br /&gt;
* Install subversion and checkout the source:&lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install subversion&lt;br /&gt;
  svn co https://svn.apache.org/repos/asf/openoffice/trunk aoo-trunk&lt;br /&gt;
  cd aoo-trunk/main&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* Install requirements (this will also install packages that are not listed):&lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install g++ gcc bison flex libarchive-zip-perl libcups2-dev \&lt;br /&gt;
       libpam0g-dev gperf libfreetype6-dev libxaw7-dev libfontconfig1-dev \&lt;br /&gt;
       libxrandr-dev patch libgconf2-dev libgnomevfs2-dev ant libgtk2.0-dev \&lt;br /&gt;
       junit junit4 libidl-dev liborbit2-dev openjdk-6-jdk libwww-perl \&lt;br /&gt;
       libxml-parser-perl autoconf libssl-dev libpam-dev libgstreamer\*&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Run autoconf to generate configure script:&lt;br /&gt;
&lt;br /&gt;
  autoconf&lt;br /&gt;
&lt;br /&gt;
* Configure (see the building guide section on [[Documentation/Building_Guide_AOO#Configuration_and_bootstrapping|configuration]] for further options):&lt;br /&gt;
&lt;br /&gt;
  ./configure \&lt;br /&gt;
      --with-dmake-url=https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2 \&lt;br /&gt;
      --with-epm-url=https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz \&lt;br /&gt;
      --disable-odk \&lt;br /&gt;
      --disable-binfilter&lt;br /&gt;
&lt;br /&gt;
* Finish configuration and download missing tarballs and extensions:&lt;br /&gt;
&lt;br /&gt;
  ./bootstrap&lt;br /&gt;
&lt;br /&gt;
* Include the configured environment:&lt;br /&gt;
&lt;br /&gt;
  source LinuxX86-64Env.Set.sh&lt;br /&gt;
&lt;br /&gt;
* Build:&lt;br /&gt;
&lt;br /&gt;
  cd instsetoo_native/&lt;br /&gt;
  build --all&lt;br /&gt;
&lt;br /&gt;
This may take a while to complete.  Several hours are not uncommon.  To speed things up you may want to run &amp;#039;build&amp;#039; like this&lt;br /&gt;
&lt;br /&gt;
  build --all -P&amp;lt;n&amp;gt; -- -P&amp;lt;n&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to start a parallel build.  Replace &amp;lt;n&amp;gt; with the number of CPU cores. &lt;br /&gt;
&lt;br /&gt;
* Install:&lt;br /&gt;
&lt;br /&gt;
  sudo dpkg -i unxlngx6.pro/Apache_OpenOffice/deb/install/en-US/DEBS/*.deb&lt;br /&gt;
  sudo dpkg -i unxlngx6.pro/Apache_OpenOffice/deb/install/en-US/DEBS/desktop-integration/openoffice4.2-debian-menus_4.2-9800_all.deb&lt;br /&gt;
&lt;br /&gt;
* Start Apache OpenOffice:&lt;br /&gt;
&lt;br /&gt;
  /opt/openoffice4/program/soffice&lt;br /&gt;
&lt;br /&gt;
=CentOS 5 for AOO 4.1.x =&lt;br /&gt;
&lt;br /&gt;
CentOS 5 is our reference environment for build through the 4.1.x series. As it is a very old environment, it is &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; recommended to use it for your first build. But is important to document how to build on CentOS 5 since this is where the release through 4.1.x are built.&lt;br /&gt;
&lt;br /&gt;
==Setup a VM==&lt;br /&gt;
&lt;br /&gt;
KVM given here as example.&lt;br /&gt;
&lt;br /&gt;
  $ wget -O /tmp/CentOS-5.iso http://mi.mirror.garr.it/mirrors/CentOS/5.11/isos/x86_64/CentOS-5.11-x86_64-netinstall.iso&lt;br /&gt;
  $ fallocate -l 61440M /vms/centos5_64.img&lt;br /&gt;
  $ sudo virt-install --boot cdrom --name centos5_64 --memory 8192 -f /vms/centos5_64.img --cdrom /tmp/CentOS-5.iso&lt;br /&gt;
&lt;br /&gt;
* Install the system; installation will start with the above command and use the following values when asked:&lt;br /&gt;
** Installation method: HTTP with website mirror.centos.org and CentOS directory /centos/5/os/x86_64&lt;br /&gt;
** Partitioning: 60000M for /, rest swap (you will need ~55 GBytes for a full build with all languages and langpacks)&lt;br /&gt;
** Setup Base system only&lt;br /&gt;
* Reboot the VM and configure it&lt;br /&gt;
** You&amp;#039;ll probably want a non-root user with sudo access and you may want to disable some services.&lt;br /&gt;
** &amp;lt;code&amp;gt;$ sudo yum update -y&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;$ sudo reboot&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Our community builds are actually done on a VMware Fusion VM. Build times are mostly sensitive to the number of CPUs and allocated RAM; our setup is a 6 core VM with 16GB of memory.&lt;br /&gt;
&lt;br /&gt;
==Setup repositories and packages==&lt;br /&gt;
&lt;br /&gt;
EPEL is needed for dpkg (to build DEBs):&lt;br /&gt;
&lt;br /&gt;
  $ wget http://archives.fedoraproject.org/pub/archive/epel/5/i386/epel-release-5-4.noarch.rpm&lt;br /&gt;
  $ sudo rpm -ivh epel-release-5-4.noarch.rpm&lt;br /&gt;
  $ sudo yum update -y&lt;br /&gt;
&lt;br /&gt;
Now you can install all dependencies:&lt;br /&gt;
&lt;br /&gt;
  $ sudo yum install \&lt;br /&gt;
        gcc \&lt;br /&gt;
        expat-devel \&lt;br /&gt;
        openssl-devel \&lt;br /&gt;
        autoconf \&lt;br /&gt;
        gcc-c++ \&lt;br /&gt;
        cups-devel \&lt;br /&gt;
        pam-devel \&lt;br /&gt;
        java-1.6.0-openjdk-devel \&lt;br /&gt;
        rpm-build \&lt;br /&gt;
        dpkg \&lt;br /&gt;
        gperf \&lt;br /&gt;
        freetype-devel \&lt;br /&gt;
        libX11-devel \&lt;br /&gt;
        libXt-devel \&lt;br /&gt;
        fontconfig-devel \&lt;br /&gt;
        libXrandr-devel \&lt;br /&gt;
        bison \&lt;br /&gt;
        flex \&lt;br /&gt;
        GConf2-devel \&lt;br /&gt;
        gnome-vfs2-devel \&lt;br /&gt;
        gtk2-devel \&lt;br /&gt;
        gstreamer-devel \&lt;br /&gt;
        gstreamer-plugins-base-devel \&lt;br /&gt;
        mesa-libGLU-devel \&lt;br /&gt;
        subversion \&lt;br /&gt;
        ccache&lt;br /&gt;
&lt;br /&gt;
Configure ccache:&lt;br /&gt;
&lt;br /&gt;
  $ ccache -M 2G&lt;br /&gt;
&lt;br /&gt;
This leaves out Ant and Perl.&lt;br /&gt;
&lt;br /&gt;
==Download Ant==&lt;br /&gt;
&lt;br /&gt;
Ant 1.7.1 is now available in the CentOS repositories:&lt;br /&gt;
&lt;br /&gt;
  $ sudo yum install ant17 ant17-apache-regexp&lt;br /&gt;
&lt;br /&gt;
However, this will still cause configure to fail, so a manual download is needed. Ant will live in ~/ant and we need to download it manually.&lt;br /&gt;
&lt;br /&gt;
 $ cd&lt;br /&gt;
 $ wget http://mirrors.nxnethosting.com/apache//ant/binaries/apache-ant-1.9.7-bin.tar.bz2&lt;br /&gt;
 $ tar xvf apache-ant-1.9.7-bin.tar.bz2&lt;br /&gt;
 $ ln -s apache-ant-1.9.7 ant&lt;br /&gt;
&lt;br /&gt;
==Install Perl modules==&lt;br /&gt;
&lt;br /&gt;
We can no longer use the system Perl and standard packages on CentOS 5, which are too old, so we will need to build newer versions.&lt;br /&gt;
&lt;br /&gt;
  $ cd /usr/local/src&lt;br /&gt;
  $ wget https://www.cpan.org/src/5.0/perl-5.14.4.tar.gz&lt;br /&gt;
  $ tar xvf perl-5.14.4.tar.gz&lt;br /&gt;
  $ cd perl-5.14.4&lt;br /&gt;
  $ ./configure.gnu ; make&lt;br /&gt;
  $ sudo make install&lt;br /&gt;
  $ sudo /usr/local/bin/perl -MCPAN -e shell&lt;br /&gt;
   cpan[1]&amp;gt; install Archive::Zip XML::Parser LWP::UserAgent Digest::SHA Digest::MD5 LWP::Protocol::https&lt;br /&gt;
   cpan[1]&amp;gt; exit&lt;br /&gt;
  $&lt;br /&gt;
&lt;br /&gt;
Make sure that /usr/local/bin/perl is in your $PATH and is used before any other versions.&lt;br /&gt;
&lt;br /&gt;
==Configure==&lt;br /&gt;
&lt;br /&gt;
See http://svn.apache.org/viewvc/openoffice/devtools/build-scripts/ for the configure options for a release build.&lt;br /&gt;
&lt;br /&gt;
=CentOS 7 for AOO 4.2.x and later=&lt;br /&gt;
&lt;br /&gt;
Although CentOS 5 was our reference environment for build through the 4.1.x series, as it is a very old environment, it is not a viable system to use for building AOO 4.2.x and later, mainly due to some dependencies no longer being available for CentOS5 (such as &amp;#039;&amp;#039;gstreamer-1.x&amp;#039;&amp;#039;). Not to say that you can&amp;#039;t do so, but we have switched to CentOS 7 for our reference build. Other than that, the actual setups and builds for both OSs are strikingly similar.&lt;br /&gt;
&lt;br /&gt;
==Setup a VM==&lt;br /&gt;
&lt;br /&gt;
We have had good results installing CentOS 7 under both VirtualBox and VMware. Our community builds are actually done on a VMware Fusion VM. Build times are mostly sensitive to the number of CPUs and allocated RAM; our setup is a 6 core VM with 16GB of memory. We recommend CentOS 7.5&lt;br /&gt;
&lt;br /&gt;
==Setup repositories and packages==&lt;br /&gt;
&lt;br /&gt;
EPEL is needed for dpkg (to build DEBs) and for ccache (to speed up repeated builds, optional but recommended):&lt;br /&gt;
&lt;br /&gt;
  $ sudo yum install epel-release&lt;br /&gt;
  $ sudo yum update -y&lt;br /&gt;
&lt;br /&gt;
Now you can install all dependencies:&lt;br /&gt;
&lt;br /&gt;
  $ sudo yum install \&lt;br /&gt;
        gcc \&lt;br /&gt;
        expat-devel \&lt;br /&gt;
        openssl-devel \&lt;br /&gt;
        autoconf \&lt;br /&gt;
        gcc-c++ \&lt;br /&gt;
        cups-devel \&lt;br /&gt;
        pam-devel \&lt;br /&gt;
        java-1.7.0-openjdk-devel \&lt;br /&gt;
        rpm-build \&lt;br /&gt;
        dpkg \&lt;br /&gt;
        fakeroot \&lt;br /&gt;
        gperf \&lt;br /&gt;
        freetype-devel \&lt;br /&gt;
        libX11-devel \&lt;br /&gt;
        libXt-devel \&lt;br /&gt;
        fontconfig-devel \&lt;br /&gt;
        libXrandr-devel \&lt;br /&gt;
        bison \&lt;br /&gt;
        flex \&lt;br /&gt;
        GConf2-devel \&lt;br /&gt;
        gnome-vfs2-devel \&lt;br /&gt;
        gtk2-devel \&lt;br /&gt;
        gstreamer-devel \&lt;br /&gt;
        gstreamer-plugins-base-devel \&lt;br /&gt;
        gstreamer1-devel \&lt;br /&gt;
        gstreamer1-plugins-base-devel \&lt;br /&gt;
        mesa-libGLU-devel \&lt;br /&gt;
        wget \&lt;br /&gt;
        subversion \&lt;br /&gt;
        ccache \&lt;br /&gt;
        glib2-devel \&lt;br /&gt;
        dbus-glib-devel \&lt;br /&gt;
        perl \&lt;br /&gt;
        ORBit2-devel&lt;br /&gt;
&lt;br /&gt;
Configure ccache to use at least 2 GBytes:&lt;br /&gt;
&lt;br /&gt;
  $ ccache -M 2G&lt;br /&gt;
&lt;br /&gt;
This leaves out Ant and Perl.&lt;br /&gt;
&lt;br /&gt;
==Download Ant==&lt;br /&gt;
&lt;br /&gt;
The version of Ant installed via yum can cause configure to fail, so a manual download is needed. Ant will live in ~/ant and we need to download it manually.&lt;br /&gt;
&lt;br /&gt;
 $ cd&lt;br /&gt;
 $ wget http://mirrors.nxnethosting.com/apache//ant/binaries/apache-ant-1.9.13-bin.tar.bz2&lt;br /&gt;
 $ tar xvf apache-ant-1.9.13-bin.tar.bz2&lt;br /&gt;
 $ ln -s apache-ant-1.9.13 ant&lt;br /&gt;
&lt;br /&gt;
==Install Perl modules==&lt;br /&gt;
&lt;br /&gt;
We can use the system Perl and standard packages on CentOS 6, see https://bz.apache.org/ooo/show_bug.cgi?id=127120&lt;br /&gt;
&lt;br /&gt;
  $ sudo yum install \&lt;br /&gt;
        cpan \&lt;br /&gt;
        perl-libwww-perl \&lt;br /&gt;
        perl-Archive-Zip \&lt;br /&gt;
        perl-Digest-SHA \&lt;br /&gt;
        perl-XML-Parser \&lt;br /&gt;
        perl-Crypt-SSLeay \&lt;br /&gt;
        perl-Env \&lt;br /&gt;
        perl-LWP-Protocol-https&lt;br /&gt;
&lt;br /&gt;
  $ sudo cpan File::Path&lt;br /&gt;
&lt;br /&gt;
==Build and Packaging tools==&lt;br /&gt;
&lt;br /&gt;
Download, configure, build and install dmake and epm&lt;br /&gt;
 $ wget https://github.com/jimjag/dmake/archive/dmake-4.12.3.tar.gz&lt;br /&gt;
 $ cd dmake-dmake-4,12,3&lt;br /&gt;
 $ ./configure --prefix=/usr/local; make install&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 $ wget https://github.com/jimjag/epm/archive/epm-4.4.2.tar.gz&lt;br /&gt;
 $ cd epm-epm-4.4.2&lt;br /&gt;
 $ ./configure --prefix=/usr/local --enable-aoo; make install&lt;br /&gt;
&lt;br /&gt;
==32 bit hints==&lt;br /&gt;
&lt;br /&gt;
There is not a EPEL release for CentOS 7 32bit, so you&amp;#039;ll need to download, build and install dpkg and GNUtar directly:&lt;br /&gt;
&lt;br /&gt;
 $ wget ftp://ftp.de.debian.org//debian/pool/main/d/dpkg/dpkg_1.19.3.tar.xz&lt;br /&gt;
 $ wget http://ftp.gnu.org/gnu/tar/tar-1.30.tar.gz&lt;br /&gt;
&lt;br /&gt;
==Configure==&lt;br /&gt;
&lt;br /&gt;
See https://svn.apache.org/viewvc/openoffice/devtools/build-scripts/ for the configure options for a release build.&lt;br /&gt;
&lt;br /&gt;
= Fedora 21 =&lt;br /&gt;
&lt;br /&gt;
== Autoconf ==&lt;br /&gt;
&lt;br /&gt;
=== Work directory ===&lt;br /&gt;
&amp;lt;code&amp;gt;/share/linux2/aoo/trunk/main/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You need to create the &amp;quot;configure&amp;quot; command in order to start:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ autoconf&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configure the build options ==&lt;br /&gt;
&lt;br /&gt;
You need to configure the build options to tell the build command what to use or to ignore:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ ./configure \ &amp;lt;br/&amp;gt;&lt;br /&gt;
--with-dmake-url=https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2 \ &amp;lt;br/&amp;gt;&lt;br /&gt;
--with-epm-url=https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz \ &amp;lt;br/&amp;gt;&lt;br /&gt;
--disable-odk \ &amp;lt;br/&amp;gt;&lt;br /&gt;
--disable-gconf \ &amp;lt;br/&amp;gt;&lt;br /&gt;
--disable-gnome-vfs \ &amp;lt;br/&amp;gt;&lt;br /&gt;
--with-package-format=&amp;quot;installed&amp;quot;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Bootstrap the build ==&lt;br /&gt;
&lt;br /&gt;
You need to prepare the build environment. This will download missing source code tar balls of external libraries, download missing external dictionary extensions and pre-build needed tools:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ ./bootstrap&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Source the environment ==&lt;br /&gt;
&lt;br /&gt;
You need to setup environment variableas and other things in the terminal window where the build should run.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ source LinuxX86-64Env.Set.sh&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Important&amp;#039;&amp;#039;&amp;#039; &amp;lt;br /&amp;gt;&lt;br /&gt;
It depends on the respective terminal window/tab. The build will not or unpredictable run in a different one.&lt;br /&gt;
&lt;br /&gt;
== Start building ==&lt;br /&gt;
&lt;br /&gt;
Work directory&lt;br /&gt;
&amp;lt;code&amp;gt;/share/linux2/aoo/trunk/main/instsetoo_native&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following command will use all available CPU cores to build most as possible in parallel:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ build --all -P8 -- -P8&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following command build and redirect all output to stdout and stderr into a single log file. Perfect for forwarding to someone else in case of build problems:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ build &amp;lt;options&amp;gt; &amp;gt; build_error_log_yyyy.mm.dd_hh.mm.txt 2&amp;gt;&amp;amp;1&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following can be used when you want to know how many hours the build took to complete:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ time build &amp;lt;options&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following is to clear things up when a project didn&amp;#039;t build successfully before starting again:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ build --prepare --from &amp;lt;prj_name&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When the same error occurs exactly again, then maybe the &amp;quot;--prepare&amp;quot; option doesn&amp;#039;t work for projects that were changed to gbuild. Then the respective solver directory needs to be deleted manually. Either from the following directory or in another sub-dir. Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ rm -rf main/solver/420/*.pro/workdir/CxxObject/&amp;lt;prj_name&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Cleanup the build tree ==&lt;br /&gt;
&lt;br /&gt;
Work directory&lt;br /&gt;
&amp;lt;code&amp;gt;/share/linux2/aoo/trunk/main/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following command needs to be executed to cleanup all build artefacts to be able to start again a clean build:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ dmake clean&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Important&amp;#039;&amp;#039;&amp;#039; &amp;lt;br /&amp;gt;&lt;br /&gt;
This will delete the &amp;quot;dmake&amp;quot; command itself. Therefore it&amp;#039;s needed to run configure, bootstrap and source again (see above).&lt;br /&gt;
&lt;br /&gt;
== Build breaker ==&lt;br /&gt;
&lt;br /&gt;
1. Module &amp;quot;svx&amp;quot; &amp;lt;br /&amp;gt;&lt;br /&gt;
2. Module &amp;quot;dbaccess&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The file &amp;lt;code&amp;gt;main/svx/source/fmcomp/fmgridif.cxx&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;main/dbaccess/source/ui/uno/ColumnControl.cxx&amp;lt;/code&amp;gt; should be compiled with enabled compiler optimization. However, this doesn&amp;#039;t work on the Intel x86-64 platform due to this GCC 4.9.3 bug (should be fixed with 5.0):&lt;br /&gt;
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58678&lt;br /&gt;
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65009&lt;br /&gt;
&lt;br /&gt;
The workaround is to disable the optimization for both files in the respective makefiles &amp;lt;code&amp;gt;main/svx/Library_svxcore.mk&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;main/dbaccess/source/ui/uno/makefile.mk&amp;lt;/code&amp;gt;. The following short patch should work:&lt;br /&gt;
&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. Makefile &amp;quot;main/svx/Library_svxcore.mk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;patch start&amp;gt; &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
--- Library_svxcore.mk.orig    2016-09-04 15:32:07.305410023 +0200 &amp;lt;br /&amp;gt;&lt;br /&gt;
+++ Library_svxcore.mk.new    2016-09-05 20:16:33.411649496 +0200 &amp;lt;br /&amp;gt;&lt;br /&gt;
@@ -121,7 +121,6 @@ &amp;lt;br /&amp;gt;&lt;br /&gt;
svx/source/engine3d/viewpt3d2 \ &amp;lt;br /&amp;gt;&lt;br /&gt;
svx/source/fmcomp/dbaexchange \ &amp;lt;br /&amp;gt;&lt;br /&gt;
svx/source/fmcomp/fmgridcl \ &amp;lt;br /&amp;gt;&lt;br /&gt;
- svx/source/fmcomp/fmgridif \ &amp;lt;br /&amp;gt;&lt;br /&gt;
svx/source/fmcomp/gridcell \ &amp;lt;br /&amp;gt;&lt;br /&gt;
svx/source/fmcomp/gridcols \ &amp;lt;br /&amp;gt;&lt;br /&gt;
svx/source/fmcomp/gridctrl \ &amp;lt;br /&amp;gt;&lt;br /&gt;
@@ -452,6 +451,23 @@ &amp;lt;br /&amp;gt;&lt;br /&gt;
)) &amp;lt;br /&amp;gt;&lt;br /&gt;
endif &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
+# the following source file can&amp;#039;t be compiled with &amp;quot;-Os&amp;quot; by gcc 4.9 as it &amp;lt;br /&amp;gt;&lt;br /&gt;
+# because of a bug in devirtualization optimization (#i125475#): &amp;lt;br /&amp;gt;&lt;br /&gt;
+#   &amp;lt;https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58678&amp;gt; &amp;lt;br /&amp;gt;&lt;br /&gt;
+#   &amp;lt;https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65009&amp;gt; &amp;lt;br /&amp;gt;&lt;br /&gt;
+# Compiling with &amp;quot;-O2&amp;quot; or &amp;lt;br /&amp;gt;&lt;br /&gt;
+# &amp;quot;-Os -fno-devirtualize -fno-devirtualize-speculatively&amp;quot; is sufficient to fix. &amp;lt;br /&amp;gt;&lt;br /&gt;
+ifeq ($(COM),GCC) &amp;lt;br /&amp;gt;&lt;br /&gt;
+$(eval $(call gb_Library_add_cxxobjects,svxcore,\ &amp;lt;br /&amp;gt;&lt;br /&gt;
+    svx/source/fmcomp/fmgridif \ &amp;lt;br /&amp;gt;&lt;br /&gt;
+    , $(gb_COMPILERNOOPTFLAGS) $(gb_LinkTarget_EXCEPTIONFLAGS) \ &amp;lt;br /&amp;gt;&lt;br /&gt;
+)) &amp;lt;br /&amp;gt;&lt;br /&gt;
+else &amp;lt;br /&amp;gt;&lt;br /&gt;
+$(eval $(call gb_Library_add_exception_objects,svxcore,\ &amp;lt;br /&amp;gt;&lt;br /&gt;
+    svx/source/fmcomp/fmgridif \ &amp;lt;br /&amp;gt;&lt;br /&gt;
+)) &amp;lt;br /&amp;gt;&lt;br /&gt;
+endif &amp;lt;br /&amp;gt;&lt;br /&gt;
+ &amp;lt;br /&amp;gt;&lt;br /&gt;
$(eval $(call gb_SdiTarget_SdiTarget,svx/sdi/svxslots,svx/sdi/svx)) &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
$(eval $(call gb_SdiTarget_set_include,svx/sdi/svxslots,\&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/patch end&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Makefile &amp;quot;main/dbaccess/Library_dbui.mk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;patch start&amp;gt;&lt;br /&gt;
&lt;br /&gt;
--- Library_dbui.mk.orig    2016-09-04 15:28:55.200594932 +0200 &amp;lt;br /&amp;gt;&lt;br /&gt;
+++ Library_dbui.mk.new    2016-09-06 00:34:05.241638508 +0200 &amp;lt;br /&amp;gt;&lt;br /&gt;
@@ -260,7 +260,6 @@ &amp;lt;br /&amp;gt;&lt;br /&gt;
dbaccess/source/ui/tabledesign/TableRowExchange \ &amp;lt;br /&amp;gt;&lt;br /&gt;
dbaccess/source/ui/tabledesign/TableUndo \ &amp;lt;br /&amp;gt;&lt;br /&gt;
dbaccess/source/ui/uno/AdvancedSettingsDlg \ &amp;lt;br /&amp;gt;&lt;br /&gt;
- dbaccess/source/ui/uno/ColumnControl \ &amp;lt;br /&amp;gt;&lt;br /&gt;
dbaccess/source/ui/uno/ColumnModel \ &amp;lt;br /&amp;gt;&lt;br /&gt;
dbaccess/source/ui/uno/ColumnPeer \ &amp;lt;br /&amp;gt;&lt;br /&gt;
dbaccess/source/ui/uno/DBTypeWizDlg \ &amp;lt;br /&amp;gt;&lt;br /&gt;
@@ -313,4 +312,21 @@ &amp;lt;br /&amp;gt;&lt;br /&gt;
)) &amp;lt;br /&amp;gt;&lt;br /&gt;
endif &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
+# the following source file can&amp;#039;t be compiled with &amp;quot;-Os&amp;quot; by gcc 4.9 as it &amp;lt;br /&amp;gt;&lt;br /&gt;
+# because of a bug in devirtualization optimization (#i125475#): &amp;lt;br /&amp;gt;&lt;br /&gt;
+#   &amp;lt;https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58678&amp;gt; &amp;lt;br /&amp;gt;&lt;br /&gt;
+#   &amp;lt;https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65009&amp;gt; &amp;lt;br /&amp;gt;&lt;br /&gt;
+# Compiling with &amp;quot;-O2&amp;quot; or &amp;lt;br /&amp;gt;&lt;br /&gt;
+# &amp;quot;-Os -fno-devirtualize -fno-devirtualize-speculatively&amp;quot; is sufficient to fix. &amp;lt;br /&amp;gt;&lt;br /&gt;
+ifeq ($(COM),GCC) &amp;lt;br /&amp;gt;&lt;br /&gt;
+$(eval $(call gb_Library_add_cxxobjects,dbui,\ &amp;lt;br /&amp;gt;&lt;br /&gt;
+    dbaccess/source/ui/uno/ColumnControl \ &amp;lt;br /&amp;gt;&lt;br /&gt;
+    , $(gb_COMPILERNOOPTFLAGS) $(gb_LinkTarget_EXCEPTIONFLAGS) \ &amp;lt;br /&amp;gt;&lt;br /&gt;
+)) &amp;lt;br /&amp;gt;&lt;br /&gt;
+else &amp;lt;br /&amp;gt;&lt;br /&gt;
+$(eval $(call gb_Library_add_exception_objects,dbui,\ &amp;lt;br /&amp;gt;&lt;br /&gt;
+    dbaccess/source/ui/uno/ColumnControl \ &amp;lt;br /&amp;gt;&lt;br /&gt;
+)) &amp;lt;br /&amp;gt;&lt;br /&gt;
+endif &amp;lt;br /&amp;gt;&lt;br /&gt;
+ &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;# vim: set noet sw=4 ts=4:&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/patch end&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Needed packages ==&lt;br /&gt;
&lt;br /&gt;
The following packages (incl. their dependencies) that need to be available or installed additionally:&lt;br /&gt;
&lt;br /&gt;
* ant&lt;br /&gt;
* autoconf&lt;br /&gt;
* bison&lt;br /&gt;
* cups-devel&lt;br /&gt;
* flex&lt;br /&gt;
* gcc&lt;br /&gt;
* gcc++&lt;br /&gt;
* gperf&lt;br /&gt;
* gtk2&lt;br /&gt;
* gtk2-devel&lt;br /&gt;
* hamcreast&lt;br /&gt;
* java-1.8.0-openjdk&lt;br /&gt;
* java-1.8.0-openjdk-devel&lt;br /&gt;
* junit&lt;br /&gt;
* libtiff&lt;br /&gt;
* libXt-devel&lt;br /&gt;
* make&lt;br /&gt;
* ORBit&lt;br /&gt;
* pam-devel&lt;br /&gt;
* patch&lt;br /&gt;
* perl-CPAN&lt;br /&gt;
* perl-Env&lt;br /&gt;
* rpm&lt;br /&gt;
* rpm-build&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Important&amp;#039;&amp;#039;&amp;#039; &amp;lt;br /&amp;gt;&lt;br /&gt;
Java 1.8 JDK has to be installed due to dependencies for ant, hamcreast and junit.&lt;br /&gt;
&lt;br /&gt;
== Building a release version ==&lt;br /&gt;
&lt;br /&gt;
Additional things that need to done when building a release version out of a SVN branch (e.g., AOO 4.1.3 from &amp;quot;AOO413&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
=== Packages ===&lt;br /&gt;
&lt;br /&gt;
The following packages (incl. their dependencies) that need to be available or installed additionally:&lt;br /&gt;
&lt;br /&gt;
* dpkg&lt;br /&gt;
* dbus-glib-devel&lt;br /&gt;
* GConf2-devel&lt;br /&gt;
* gnome-vfs2&lt;br /&gt;
* gnome-vfs2-devel&lt;br /&gt;
* gstreamer-devel&lt;br /&gt;
* gstreamer-plugins-base-devel&lt;br /&gt;
* mesa-libGLU-devel&lt;br /&gt;
* ORBit2&lt;br /&gt;
* ORBit2-devel&lt;br /&gt;
* perl-Archive-Zip&lt;br /&gt;
* perl-Crypt-SSLeay&lt;br /&gt;
* perl-Digest-MD5&lt;br /&gt;
* perl-Digest-SHA&lt;br /&gt;
* perl-libwww-perl&lt;br /&gt;
* perl-LWP-Protocol-https&lt;br /&gt;
* perl-XML-Parser&lt;br /&gt;
&lt;br /&gt;
=== Configure ===&lt;br /&gt;
&lt;br /&gt;
The configure options for a release build can be found here:&lt;br /&gt;
&lt;br /&gt;
http://svn.apache.org/viewvc/openoffice/devtools/build-scripts/4.1.3/unxlngix6/build_aoo64bit_on_centos5.sh&lt;br /&gt;
&lt;br /&gt;
== Performance results ==&lt;br /&gt;
&lt;br /&gt;
* Intel Core i7-4710HQ 2.5 GHz (8 cores)&lt;br /&gt;
* 16 GB RAM, 256 GB SSD&lt;br /&gt;
* Fedora 21 x86-64 (Kernel 4.1.13-100.fc21.x86_64, glibc 2.20-8)&lt;br /&gt;
&lt;br /&gt;
=== Trunk ===&lt;br /&gt;
&lt;br /&gt;
* Build command:&lt;br /&gt;
  &amp;lt;code&amp;gt;$ build --all -P8 -- -P8&amp;lt;/code&amp;gt;&lt;br /&gt;
* Time for a full build: 01h 05m 41s (as of 2016-10-09&lt;br /&gt;
&lt;br /&gt;
=== AOO413 branch ===&lt;br /&gt;
&lt;br /&gt;
* Build command (with P8 and only &amp;quot;de en-US fr ja pt&amp;quot; as languages):&lt;br /&gt;
  &amp;lt;code&amp;gt;$ build_aoo64bit_on_centos5.sh&amp;lt;/code&amp;gt;&lt;br /&gt;
* Time for a full build: 00h 50m 32s (as of 2016-10-09)&lt;br /&gt;
&lt;br /&gt;
= Fedora 19 and 20 =&lt;br /&gt;
&lt;br /&gt;
== Build Instructions ==&lt;br /&gt;
&lt;br /&gt;
The [[Building|build procedure]] is the same as for other Linux systems.&lt;br /&gt;
&lt;br /&gt;
Required packages:&lt;br /&gt;
&lt;br /&gt;
 $ yum install tcsh perl-Archive-Zip gcc gcc-c++ cups-devel \&lt;br /&gt;
               pam-devel java-1.7.0-openjdk-devel gperf freetype-devel \&lt;br /&gt;
               gtk2-devel libIDL-devel libXaw-devel bison patch GConf2-devel \&lt;br /&gt;
               gnome-vfs2-devel ant make tar rpm-build flex junit4 \&lt;br /&gt;
               perl-LWP-UserAgent-Determined perl-XML-Parser \&lt;br /&gt;
               perl-Digest-SHA ORBit2-devel perl-LWP-Protocol-https&lt;br /&gt;
&lt;br /&gt;
Build notes:&lt;br /&gt;
&lt;br /&gt;
* The perl-Digest-SHA dependency is not caught until bootstrap&lt;br /&gt;
* The ORBit2-devel dependency is not caught until building the &amp;quot;shell&amp;quot; module&lt;br /&gt;
* Build breaks in &amp;quot;hsqldb&amp;quot;: to build with Java7, you need to apply the patch at https://issues.apache.org/ooo/attachment.cgi?id=80961&amp;amp;action=diff&lt;br /&gt;
* Build breaks in &amp;quot;moz&amp;quot;: configure with --disable-mozilla to work around it.&lt;br /&gt;
&lt;br /&gt;
= Fedora 10 and 14 =&lt;br /&gt;
&lt;br /&gt;
== Build Instructions ==&lt;br /&gt;
&lt;br /&gt;
The [[Building|build procedure]] is the same as for other Linux systems.&lt;br /&gt;
&lt;br /&gt;
Required packages:&lt;br /&gt;
&lt;br /&gt;
 $ yum install tcsh perl-Archive-Zip gcc gcc-c++ cups-devel \&lt;br /&gt;
               pam-devel java-1.6.0-openjdk-devel gperf freetype-devel \&lt;br /&gt;
               gtk2-devel libIDL-devel libXaw-devel bison patch GConf2-devel \&lt;br /&gt;
               gnome-vfs2-devel ant make&lt;br /&gt;
&lt;br /&gt;
== Quick start guide ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;Still valid?&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
$ yum -y install mono-devel perl-Archive-Zip ant bison \&lt;br /&gt;
         flex pam-devel cups-devel gperf libxslt-devel openldap-devel \&lt;br /&gt;
         firefox-devel xorg-x11-devel gstreamer-devel \&lt;br /&gt;
         gstreamer-plugins-base-devel db4-devel unixODBC-devel \&lt;br /&gt;
         xml-commons-jaxp-1.3-apis xalan-j2 boost-devel \&lt;br /&gt;
         unixODBC-devel qt-devel subversion autoconf automake \&lt;br /&gt;
         gtk2-devel gcc-c++  gnome-vfs2-devel rpm-build \&lt;br /&gt;
         expat-devel python-devel curl-devel&lt;br /&gt;
&lt;br /&gt;
$ ./autogen.sh -with-distro=SUSE \&lt;br /&gt;
         --with-jdk-home=/usr/lib/jvm/java-1.5.0-gcj \&lt;br /&gt;
         --with-ant-home=/usr/share/ant \&lt;br /&gt;
         --with-system-mozilla=firefox \&lt;br /&gt;
         --disable-Xaw \&lt;br /&gt;
         --disable-kde \&lt;br /&gt;
         --disable-mono \&lt;br /&gt;
         --enable-opengl --enable-ogltrans \&lt;br /&gt;
         --disable-neon \&lt;br /&gt;
         --enable-debug&lt;br /&gt;
&lt;br /&gt;
Another list:&lt;br /&gt;
* http://people.redhat.com/caolanm/ooocvs/makefc3chroot&lt;br /&gt;
&lt;br /&gt;
Blog about building ooo-build on Fedora 7:&lt;br /&gt;
* http://openofficeorgfoo.blogspot.com/2007/12/building-ooo-build-from-source.html&lt;br /&gt;
&lt;br /&gt;
== Fedora packaging ==&lt;br /&gt;
&lt;br /&gt;
=== Fedora 14 ===&lt;br /&gt;
&lt;br /&gt;
The Fedora 14 spec file can be found at http://koji.fedoraproject.org/koji/buildinfo?buildID=276232 (download the srpm, and uncompress it (rpm2cpio &amp;lt;file&amp;gt; | cpio -idv) ); you&amp;#039;ll see the single spec file openoffice.org.spec ; note that it doesn&amp;#039;t build cleanly, you need to apply the patch from https://issues.apache.org/ooo/show_bug.cgi?id=114999&lt;br /&gt;
&lt;br /&gt;
=== Fedora 19 ===&lt;br /&gt;
&lt;br /&gt;
* HSQLDB does not build with Java 7: see https://issues.apache.org/ooo/show_bug.cgi?id=121754 for the relevant patches.&lt;br /&gt;
* Spec files for dmake and epm by Fred Ollinger are at https://github.com/fredollinger/aooo-fedora-rawhide&lt;br /&gt;
* A note from Ariel about dictionaries: http://mail-archives.apache.org/mod_mbox/openoffice-dev/201303.mbox/%3C20130329145345.GC2969%40localhost%3E&lt;br /&gt;
&lt;br /&gt;
= Windows 7, Windows 8.1, Windows 10 =&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Complete requirements found at [https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO#General_Build_Requirements General Build Requirements] and [https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Building_on_Windows Building on Windows].&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
This is a &amp;#039;&amp;#039;&amp;#039;sample&amp;#039;&amp;#039;&amp;#039; step-by-step guide - check the complete requirements and report on dev@openoffice.apache.org, if problems with this step-by-step guide occur.&lt;br /&gt;
&lt;br /&gt;
*Install Cygwin, &amp;#039;&amp;#039;&amp;#039;32-bit version&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
**Browse to [https://www.cygwin.com https://www.cygwin.com] and click on the setup-x86.exe link to download the most recent 32-bit version (the most recent Cygwin DLL at the moment is 2.11.2) or use [https://www.cygwin.com/setup-x86.exe this direct link]&lt;br /&gt;
**Run the installer and click through the questions&lt;br /&gt;
**On the &amp;quot;Choose A Download Site&amp;quot; select a nearby download server&lt;br /&gt;
**Expect a &amp;quot;Setup Alert&amp;quot; dialog box on the first cygwin install on the computer: click OK to close it&lt;br /&gt;
**On the page that allows you to select additional packages select: &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt; From the &amp;#039;&amp;#039;&amp;#039;Archive&amp;#039;&amp;#039;&amp;#039; category: &amp;lt;pre&amp;gt;zip, unzip&amp;lt;/pre&amp;gt; From the &amp;#039;&amp;#039;&amp;#039;Devel&amp;#039;&amp;#039;&amp;#039; category: &amp;lt;pre&amp;gt;autoconf, gperf, gcc-g++, bison, flex, patch, subversion, make&amp;lt;/pre&amp;gt; From the &amp;#039;&amp;#039;&amp;#039;Net&amp;#039;&amp;#039;&amp;#039; category: &amp;lt;pre&amp;gt;rsync&amp;lt;/pre&amp;gt;From the &amp;#039;&amp;#039;&amp;#039;Perl&amp;#039;&amp;#039;&amp;#039; category: &amp;lt;pre&amp;gt;perl, perl-XML-SAX-Expat, perl-Archive-Zip, perl-LWP-Protocol-https, perl-XML-parser, perl-libwww-perl, perl-Digest-SHA, perl-Net-SSLeay&amp;lt;/pre&amp;gt;As a shortcut you can install everything needed with one command:&amp;lt;pre&amp;gt;setup-x86.exe -P zip -P unzip -P autoconf -P gperf -P gcc-g++ -P bison -P flex -P patch -P subversion -P make -P rsync -P perl -P perl-XML-SAX-Expat -P perl-Archive-Zip -P perl-LWP-Protocol-https -P perl-XML-parser -P perl-libwww-perl -P perl-Digest-SHA -P perl-Net-SSLeay&amp;lt;/pre&amp;gt;If you will use git, you need in addition from the &amp;#039;&amp;#039;&amp;#039;Devel&amp;#039;&amp;#039;&amp;#039; category the packages:&amp;lt;pre&amp;gt;git, git-svn&amp;lt;/pre&amp;gt;&amp;lt;i&amp;gt;(If you prefer to install packages with a Linux kind of touch, you can skip selecting the packages and instead select just the package &amp;lt;b&amp;gt;lynx&amp;lt;/b&amp;gt; (enter lynx in the Search box and select the lynx entry in the Web/Default section). You would then install the other packages from the cygwin command line using lynx as explained ahead. However, selecting the packages from the Cygwin interface is recommended.)&amp;lt;/i&amp;gt;&lt;br /&gt;
**Click Next to finish package selection.&lt;br /&gt;
**Click Next to resolve dependencies.&lt;br /&gt;
**After installation is finished click the Finish button to close the dialog.&lt;br /&gt;
&lt;br /&gt;
*Start Cygwin bash in a terminal&lt;br /&gt;
&lt;br /&gt;
::In Windows 7 and later you can just type &amp;quot;cygwin&amp;quot; into the Start Menu search bar and then click on the Cygwin App. Or you can:&lt;br /&gt;
::*Press WindowsKey-R&lt;br /&gt;
::*Type &amp;quot;C:\cygwin\Cygwin.bat&amp;quot; (if that&amp;#039;s the path you installed Cygwin to)&lt;br /&gt;
::*Hit Return.&lt;br /&gt;
:::&amp;lt;i&amp;gt;(If you haven&amp;#039;t installed the necessary packages from the Cygwin interface yet because you would prefer to install them using lynx from the Cygwin command line, then you should do so now. First install &amp;lt;b&amp;gt;apt-cyg&amp;lt;/b&amp;gt; from the Github repository:)&amp;lt;pre&amp;gt;cd /cygdrive/c/temp&amp;lt;/pre&amp;gt;(or any other temporary directory of your choice)&amp;lt;pre&amp;gt;lynx -source rawgit.com/transcode-open/apt-cyg/master/apt-cyg &amp;gt; apt-cyg&amp;amp;#10;chmod +x apt-cyg&amp;amp;#10;mv apt-cyg /usr/local/bin/&amp;lt;/pre&amp;gt;Use &amp;lt;b&amp;gt;apt-cyg&amp;lt;/b&amp;gt; to install missing cygwin packages:&amp;lt;pre&amp;gt;apt-cyg install perl zip unzip gperf autoconf rsync gcc-g++ bison flex patch subversion make&amp;lt;/pre&amp;gt;(You must also provide to install the missing perl packages, for example with &amp;quot;cpan -i Archive::Zip LWP::UserAgent LWP::Protocol XML::Parser&amp;quot; etc. however there can be some dependency conflicts, the recommended method is installing the packages from the cygwin interface)&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Replace symlinked awk with copy of gawk.exe:&amp;lt;pre&amp;gt;rm /usr/bin/awk&amp;amp;#10;mv /usr/bin/gawk.exe /usr/bin/awk.exe&amp;lt;/pre&amp;gt;Note that if the &amp;lt;code&amp;gt;rm&amp;lt;/code&amp;gt; command fails then the &amp;lt;code&amp;gt;mv&amp;lt;/code&amp;gt; is not necessary.&lt;br /&gt;
&lt;br /&gt;
* Install Java, &amp;#039;&amp;#039;&amp;#039;32-bit version&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
::Choose between JDK or OpenJDK. Versions 1.7 and 1.8 are known to work.&lt;br /&gt;
::(We need the 32-bit version because JNI requires the JVM&amp;#039;s bitness to match the C/C++ bitness).&lt;br /&gt;
&lt;br /&gt;
* Install Apache Ant&lt;br /&gt;
**Browse to https://ant.apache.org/bindownload.cgi&lt;br /&gt;
**Chose a mirror near you.&lt;br /&gt;
**Download the zip archive (currently that is apache-ant-1.9.13-bin.zip or apache-ant-1.10.5-bin.zip).&amp;lt;br /&amp;gt; Note that Apache Ant 1.10.x will only work with Java 8.&lt;br /&gt;
**Open downloaded archive in file explorer and unzip it to a location of your choice, eg &amp;lt;code&amp;gt;c:\&amp;lt;/code&amp;gt;.  Note that &amp;lt;code&amp;gt;C:\Program Files (x86)&amp;lt;/code&amp;gt; will not work due to problems of quoting the spaces and parentheses.&lt;br /&gt;
    &lt;br /&gt;
* Install Microsoft Windows SDK for Windows 7 and .NET Framework 3.5. SP1 (recommended by Microsoft. Note: later versions of the Windows SDK will not work. AOO can not be built with MSVC 2010 or 2012 - MSVC 2008 is needed and is found in the Windows 7 SDK) &lt;br /&gt;
** Browse to http://www.microsoft.com/en-us/download/details.aspx?id=3138.&lt;br /&gt;
** Download winsdk_web.exe and run the web installer. You can use the default values in the installation dialog, except when prompted with the installation path use a path that has no spaces or parentheses (e.g. &amp;quot;C:\Microsoft_SDKs\Windows\v7.0&amp;quot;), because otherwise the build process will choke on those spaces or parentheses.&lt;br /&gt;
** Alternatively download the iso image http://www.microsoft.com/en-us/download/details.aspx?id=18950. Burn it to a dvd or unzip it.&lt;br /&gt;
&lt;br /&gt;
* Download MS Visual C++ 2008 SP1 Redistributable Package (x86)&lt;br /&gt;
** https://www.microsoft.com/en-us/download/details.aspx?id=26368 (There have been security updates, which are not included in older versions)&lt;br /&gt;
**Download files vcredist_x86.exe and vcredist_x64.exe&amp;lt;br /&amp;gt; We need both 32 and 64-bit versions because we build 64-bit shell extensions. If you download the most recent version of Apache OpenOffice and unpack it, you will find the files vcredist_x86.exe and vcredist_x64.exe in folder redist. You can use them as well.&lt;br /&gt;
&lt;br /&gt;
* Optional: Install DirectX SDK (for graphics hardware support in the slide show)&lt;br /&gt;
** Browse to http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&amp;amp;id=6812&lt;br /&gt;
** Download and run DXSDK_Jun10.exe. Choose to install to a custom path, and use a path that has neither spaces nor parentheses (e.g. &amp;lt;code&amp;gt;C:\Microsoft_DirectX_SDK_June_2010&amp;lt;/code&amp;gt;), because otherwise the build will not be able to parse the path and will choke on the spaces or parentheses. &amp;lt;i&amp;gt;(If you receive an S1023 error towards the end of the installation, [https://support.microsoft.com/it-it/kb/2728613 the fix is simple]. The issue occurs because a newer version of the Visual C++ 2010 Redistributable is present on the computer. The June 2010 DirectX SDK installs version 10.0.30319 of the Visual C++ Redistributable. To resolve this issue, you must uninstall all versions of the Visual C++ 2010 Redistributable before installing the June 2010 DirectX SDK. You may have one or more of the following products installed: Visual C++ 2010 Redistributable x86, Visual C++ 2010 Redistributable x64.  You can use Add or Remove Programs in Control Panel to uninstall the products. Or, you can run the following commands from an administrator command prompt: &amp;lt;pre&amp;gt;MsiExec.exe /passive /X{F0C3E5D1-1ADE-321E-8167-68EF0DE699A5} &amp;amp;#10;MsiExec.exe /passive /X{1D8E6291-B0D5-35EC-8441-6616F567A0F7}&amp;lt;/pre&amp;gt; and then run the DirectX SDK installer. After installing the June 2010 DirectX SDK, you may then reinstall the most current version of the [http://www.microsoft.com/download/details.aspx?id=26999 Visual C++ 2010 Redistributable Package].)&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Optional: Install Windows Driver Kit 7.1.0 (for enabling activex)&lt;br /&gt;
** Download [http://www.microsoft.com/en-us/download/details.aspx?id=11800 WDK 7.1.0] (is an ISO image). Cannot use later versions of Windows Driver Kit because they do not have ATL which is needed to build AOO with ActiveX. (I recommend to download using Internet Explorer, otherwise the install may fail a Windows Authenticity test, whereas this does not happen using Internet Explorer to download the ISO image.)&lt;br /&gt;
** Mount the ISO image and install.&lt;br /&gt;
&lt;br /&gt;
* Optional: Install NSIS installer (for creating the EXE installer)&lt;br /&gt;
** Browse to [https://sourceforge.net/projects/nsis/files/ https://sourceforge.net/projects/nsis/files/]&lt;br /&gt;
** Download and run the installer (note that versions of NSIS &amp;gt;= 3.* are only compatible with branch 4.1.3 or later! otherwise you will have to install at most [https://sourceforge.net/projects/nsis/files/NSIS%202/2.51/nsis-2.51-setup.exe/download NSIS 2.51]). Recommended to install to custom location, choose a path without any spaces (e.g. &amp;quot;C:\NSIS&amp;quot;).&lt;br /&gt;
** For Asian languages (ja, ko, zh-CN, zh-TW) the language files have to be edited, otherwise the graphics in the first installer windows don&amp;#039;t fit. In &amp;quot;{NSISDIR}\Contrib\Language files\Japanese.nlf&amp;quot; (Korean.nlf, TradChinese.nlf, SimpChinese.nlf accordingly) change: &amp;lt;pre&amp;gt;Font and size - dash (-) means default&amp;amp;#10;{font-name}&amp;amp;#10;{font-size}&amp;lt;/pre&amp;gt; to:&amp;lt;pre&amp;gt;Font and size - dash (-) means default&amp;amp;#10;-&amp;amp;#10;-&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* Optional: Install the MozillaBuild tools. These are needed to build the &amp;lt;b&amp;gt;NSS&amp;lt;/b&amp;gt; (&amp;quot;Network Security Services&amp;quot;) module. Download from [https://ftp.mozilla.org/pub/mozilla/libraries/win32/ here]. Install to a custom path without any spaces, such as &amp;lt;code&amp;gt;C:\mozilla-build&amp;lt;/code&amp;gt;. MozillaBuild tools version 3.0 or newer require a 64-bit Windows. When building on 32-bit Windows it is recommended to use version 2.2.0.&lt;br /&gt;
&lt;br /&gt;
* Get AOO source code. You can use the source release or check out from SVN. Build from source release if you want to build OpenOffice once but don&amp;#039;t want to contribute patches. If you will contribute patches, you need to generate them against an actual version of trunk. In this case check out from SVN to be able to rebase before generating patches. You can work with subversion or with git-svn. Do not use a tool that changes line endings, such as the default configuration of TortoiseSVN. NOTE: Do not place the source directory under the Cygwin file system. This means that placing it, for example, at &amp;#039;/home/aoo/source&amp;#039; is not recommended.&lt;br /&gt;
&lt;br /&gt;
::; Source release:&lt;br /&gt;
::* Browse to http://www.openoffice.org/download/other.html#tested-sdk and locate the table row that starts with &amp;quot;Source code&amp;quot;&lt;br /&gt;
::* Download source code in an archive format of your choice (note that tar.bz2 is typically smaller than tar.gz and zip)&lt;br /&gt;
::* Optional: Verify the archive - following given link or instructions.&lt;br /&gt;
::* Unpack source (in cygwin-terminal). Use the file name exactly as downloaded.&amp;lt;pre&amp;gt;cd /tmp&amp;amp;#10;tar -xjf &amp;lt;download-location&amp;gt;/&amp;lt;downloaded-source-release.tar.bz2&amp;gt;&amp;amp;#10;cd &amp;lt;unpacked-source&amp;gt;/main&amp;amp;#10;&amp;lt;/pre&amp;gt;Do not use Windows unpacker, they might cause access right problems. &lt;br /&gt;
&lt;br /&gt;
::; Checkout from SVN using subversion :&lt;br /&gt;
::*&amp;lt;i&amp;gt;(If you haven&amp;#039;t installed the subversion package from the cygwin interface, please do so now by re-running the cygwin installer, or if you used lynx and apt-cyg then:)&amp;lt;pre&amp;gt;apt-cyg install subversion&amp;lt;/pre&amp;gt;&amp;lt;/i&amp;gt; &lt;br /&gt;
::*Start with creating a parent directory for the source code: &amp;lt;pre&amp;gt;mkdir /cygdrive/c/source&amp;amp;#10;cd /cygdrive/c/source&amp;lt;/pre&amp;gt;&lt;br /&gt;
::*Check out source from Apache SVN repository&amp;lt;pre&amp;gt;svn co https://svn.apache.org/repos/asf/openoffice/trunk aoo-trunk&amp;amp;#10;cd aoo-trunk/main&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
::; Checkout from SVN using git-svn :&lt;br /&gt;
::*&amp;lt;i&amp;gt;(If you haven&amp;#039;t installed git and git-svn from the cygwin interface, please do so now by re-running the cygwin installer, or if you used lynx and apt-cyg then:)&amp;lt;pre&amp;gt;apt-cyg install git git-svn&amp;lt;/pre&amp;gt;&amp;lt;/i&amp;gt;&lt;br /&gt;
::*Get the actual revision number from http://svn.apache.org/viewvc/OpenOffice/trunk/, e.g. 1234567&lt;br /&gt;
::*Create an empty directory and change to it, e.g.&amp;lt;pre&amp;gt;mkdir /cygdrive/c/source&amp;amp;#10;cd /cygdrive/c/source&amp;lt;/pre&amp;gt;&lt;br /&gt;
::*Check out source from Apache SVN repository&amp;lt;pre&amp;gt;git svn clone --revision 1234567:HEAD https://svn.apache.org/repos/asf/openoffice/trunk&amp;amp;#10;cd trunk/main&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Remember the source path (this is optional, it makes for an easy reference):&amp;lt;pre&amp;gt;SourceMain=`pwd`&amp;lt;/pre&amp;gt; [Why? I have not used it. [[User:Regina|Regina]] ([[User talk:Regina|talk]]) 21:42, 24 February 2013 (UTC)]&lt;br /&gt;
:[Added explanation above [[User:Andre|Andre]]]&lt;br /&gt;
&lt;br /&gt;
* Optional: Get dbghelp.dll (for using the &amp;lt;code&amp;gt;--enable-dbgutil&amp;lt;/code&amp;gt; configure option)&lt;br /&gt;
** This dll is part of MS Visual Studio. If you do not have it installed, download and install &amp;quot;Visual Studio Community&amp;quot; from https://www.visualstudio.com/en-us/downloads/download-visual-studio-vs.aspx &lt;br /&gt;
** Copy file to &amp;lt;code&amp;gt;main/external/dbghelp&amp;lt;/code&amp;gt;. Use Windows file manager or in cygwin terminal&amp;lt;pre&amp;gt;cp /cygdrive/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio\ 9.0/Common7/IDE/dbghelp.dll $SourceMain/external/dbghelp&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Copy vcredist_x86.exe and vcredist_x64.exe (see above) to main/external/vcredist.&lt;br /&gt;
** Use Windows file manager or in cygwin terminal&amp;lt;pre&amp;gt;cp &amp;lt;download-location&amp;gt;/vcredist_x86.exe $SourceMain/external/vcredist&amp;amp;#10;cp &amp;lt;download-location&amp;gt;/vcredist_x64.exe $SourceMain/external/vcredist&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Get GDI+ redistributable:&lt;br /&gt;
**Browse to https://www.microsoft.com/en-us/download/details.aspx?id=18909&lt;br /&gt;
**Download WindowsXP-KB975337-x86-ENU.exe&lt;br /&gt;
**Run WindowsXP-KB975337-x86-ENU.exe&lt;br /&gt;
**Enter a temporary path (eg c:\temp\gdiplus) in the dialog and click OK to extract files&lt;br /&gt;
**Copy gdiplus.dll to main/external/gdiplus&amp;lt;pre&amp;gt;cp /cygdrive/c/temp/gdiplus/asms/10/msft/windows/gdiplus/gdiplus.dll $SourceMain/external/gdiplus/&amp;lt;/pre&amp;gt;&lt;br /&gt;
** Remove the temporary path&amp;lt;pre&amp;gt;rm -fr /cygdrive/c/temp/gdiplus&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Get msvcr100.dll:&lt;br /&gt;
**We need the 32-bit dll (version 10.0.40219.325), available from: https://www.microsoft.com/en-US/download/details.aspx?id=26999&amp;lt;pre&amp;gt;cp /cygdrive/c/Windows/System32/msvcr100.dll $SourceMain/external/msvcp100&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Make sure that you are in the main source directory:&amp;lt;pre&amp;gt;cd $SourceMain&amp;lt;/pre&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
* Run autoconf to create the configure script:&amp;lt;pre&amp;gt;autoconf&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Call configure&lt;br /&gt;
** For those paths that do have spaces, use the cygpath tool to get a shortened version without any spaces, which you can then use in the configuration directives without any trouble (adapt paths as necessary):&amp;lt;pre&amp;gt;$ cygpath -m -s &amp;quot;C:\Program Files (x86)\Java\jdk1.8.0_73&amp;quot; &amp;amp;#10;C:/PROGRA~2/Java/JDK18~1.0_7 &amp;amp;#10;$ cygpath -m -s &amp;quot;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC&amp;quot; &amp;amp;#10;C:/PROGRA~2/MI1DCA~1.0/VC&amp;lt;/pre&amp;gt;Run configure (again adapt paths as necessary)&amp;lt;pre&amp;gt;SDK_PATH=&amp;quot;/cygdrive/c/Microsoft_SDKs/Windows/v7.0&amp;quot;&amp;amp;#10;./configure \&amp;amp;#10;    --with-frame-home=&amp;quot;$SDK_PATH&amp;quot; \&amp;amp;#10;    --with-psdk-home=&amp;quot;$SDK_PATH&amp;quot; \&amp;amp;#10;    --with-midl-path=&amp;quot;$SDK_PATH/bin&amp;quot; \&amp;amp;#10;    --with-ant-home=&amp;quot;/cygdrive/c/apache-ant-1.9.13&amp;quot; \&amp;amp;#10;    --with-jdk-home=&amp;quot;C:/PROGRA~2/Java/JDK18~1.0_7&amp;quot; \&amp;amp;#10;    --with-csc-path=&amp;quot;C:/Windows/Microsoft.NET/Framework/v3.5&amp;quot; \&amp;amp;#10;    --with-cl-home=&amp;quot;C:/PROGRA~2/MI1DCA~1.0/VC&amp;quot; \&amp;amp;#10;    --with-asm-home=&amp;quot;C:/PROGRA~2/MI1DCA~1.0/VC/bin&amp;quot; \&amp;amp;#10;    --with-dmake-url=&amp;quot;https://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2&amp;quot; \&amp;amp;#10;    --disable-pch \&amp;amp;#10;    --disable-atl \&amp;amp;#10;    --disable-activex \&amp;amp;#10;    --disable-nss-module \&amp;amp;#10;    --without-junit&amp;lt;/pre&amp;gt;If you have installed the optional DirectX SDK then you can add the switch:&amp;lt;pre&amp;gt;    --with-directx-home=&amp;quot;C:/Microsoft_DirectX_SDK_June_2010&amp;quot;&amp;lt;/pre&amp;gt;If you have installed Windows Driver Kit 7.1.0 and would like to build with ATL and ActiveX functionality then remove the &amp;lt;code&amp;gt;--disable-activex&amp;lt;/code&amp;gt; and the &amp;lt;code&amp;gt;--disable-atl&amp;lt;/code&amp;gt; directives, and add the atl home directives: &amp;lt;pre&amp;gt;    --with-atl-include-dir=/cygdrive/c/WinDDK/7600.16385.1/inc/atl71 \&amp;amp;#10;    --with-atl-lib-dir=/cygdrive/c/WinDDK/7600.16385.1/lib/ATL/i386 \&amp;amp;#10;    --with-mfc-include-dir=/cygdrive/c/WinDDK/7600.16385.1/inc/mfc42 \&amp;amp;#10;    --with-mfc-lib-dir=/cygdrive/c/WinDDK/7600.16385.1/lib/Mfc/i386&amp;lt;/pre&amp;gt;If you have installed NSIS you can use the relative directive &amp;lt;pre&amp;gt;    --with-nsis-path=&amp;quot;C:/NSIS&amp;quot;&amp;lt;/pre&amp;gt;If you have installed MozillaBuild tools you can use the relative switch:&amp;lt;pre&amp;gt;    --with-mozilla-build=&amp;quot;/cygdrive/d/mozilla-build&amp;quot;&amp;lt;/pre&amp;gt;You may also enable a few more switches (used for official releases: --enable-win-x64-shellext):&amp;lt;pre&amp;gt;    --enable-win-x64-shellext \&amp;amp;#10;    --enable-wiki-publisher \&amp;amp;#10;    --enable-category-b \&amp;amp;#10;    --enable-bundled-dictionaries&amp;lt;/pre&amp;gt;and if you would like to build for different locales you can use the lang switch (in this example, for English United States and for Italian):&amp;lt;pre&amp;gt;    --with-lang=&amp;quot;en-US it&amp;quot;&amp;lt;/pre&amp;gt;If you have copied over the dbghelp.dll and would like these extra features you can enable the debug switch:&amp;lt;pre&amp;gt;    --enable-dbgutil&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Finish configuration and download missing external source tarballs and extensions&amp;lt;pre&amp;gt;./bootstrap&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Include the configured environment&amp;lt;pre&amp;gt;source winenv.set.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Build&amp;lt;pre&amp;gt;cd instsetoo_native/&amp;amp;#10;build --all&amp;lt;/pre&amp;gt;Depending on your computer this will take one or more hours to finish. You may want to experiment with the -P options for multi process builds to reduce the build time. &amp;lt;pre&amp;gt;build --all -P&amp;lt;m&amp;gt; -- -P&amp;lt;n&amp;gt;&amp;lt;/pre&amp;gt; tells build to use &amp;lt;code&amp;gt;m&amp;lt;/code&amp;gt; processes (build up to &amp;lt;code&amp;gt;m&amp;lt;/code&amp;gt; modules in parallel) and &amp;lt;code&amp;gt;n&amp;lt;/code&amp;gt; threads for each module.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Install&amp;lt;br/&amp;gt;There are three options:&lt;br /&gt;
*# Regular install with integration into Windows.&amp;lt;br/&amp;gt;This allows only one instance of AOO to be installed.&lt;br /&gt;
*#* Start setup.exe and click through dialog:&amp;lt;br/&amp;gt;&amp;lt;pre&amp;gt;$SourceMain/instsetoo_native/wntmsci12.pro/OpenOffice/msi/install/en-US/setup.exe&amp;lt;/pre&amp;gt;&lt;br /&gt;
*#* Apache OpenOffice can be started via the Windows start menu.&lt;br /&gt;
*# Install without integration into Windows.&amp;lt;br/&amp;gt;This allows several instance of AOO, based on the same version, to be installed side by side.&amp;lt;br/&amp;gt;It still requires Administrator permissions.&lt;br /&gt;
*#* Start &amp;lt;code&amp;gt;setup.exe&amp;lt;/code&amp;gt; with option &amp;lt;code&amp;gt;-a&amp;lt;/code&amp;gt;:&amp;lt;br/&amp;gt;&amp;lt;pre&amp;gt;$SourceMain/instsetoo_native/wntmsci12.pro/OpenOffice/msi/install/en-US/setup.exe -a&amp;lt;/pre&amp;gt;&lt;br /&gt;
*#* Enter an installation path into the dialog and click through the dialog to finish installation.&lt;br /&gt;
*#* Start AOO by running&amp;lt;br/&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;installation-path&amp;gt;/program/soffice.exe&amp;lt;/pre&amp;gt;&lt;br /&gt;
*# Unpack archive without installation.&amp;lt;br/&amp;gt;This does not require Administrator permissions&lt;br /&gt;
*#* Go to installation directory:&amp;lt;br/&amp;gt;&amp;lt;pre&amp;gt;cd &amp;lt;installation-target&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
*#* Unzip archive:&amp;lt;br/&amp;gt;&amp;lt;pre&amp;gt;unzip $SourceMain/instsetoo_native/wntmsci12.pro/Apache_OpenOffice/msi/install/en-US/Apache_OpenOffice_4.1.4_Win_x86_install-arc_en-US.zip&amp;lt;/pre&amp;gt;&lt;br /&gt;
*#* Start AOO by running:&amp;lt;br/&amp;gt;&amp;lt;pre&amp;gt;./Apache_OpenOffice_4.1.4_Win_x86_install-arc_en-US/program/soffice.exe&amp;lt;/pre&amp;gt;&lt;br /&gt;
::: (Change the version number in the file name to match the version you built)&lt;br /&gt;
&lt;br /&gt;
== Build with Cygwin 64-bit ==&lt;br /&gt;
&lt;br /&gt;
Note: Building AOO with Cygwin 64-bit will only work with latest trunk, it will &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; work with any 4.1.x branch!&lt;br /&gt;
&lt;br /&gt;
* Install Cygwin, &amp;#039;&amp;#039;&amp;#039;64-bit version&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
** Browse to [https://www.cygwin.com https://www.cygwin.com] and click on the setup-x86_64.exe link to download the most recent 64-bit version (the most recent Cygwin DLL at the moment is 2.11.2) or use [https://www.cygwin.com/setup-x86_64.exe this direct link]&lt;br /&gt;
** Run the installer and click through the questions&lt;br /&gt;
** On the &amp;quot;Choose A Download Site&amp;quot; select a nearby download server&lt;br /&gt;
** Expect a &amp;quot;Setup Alert&amp;quot; dialog box on the first cygwin install on the computer: click OK to close it&lt;br /&gt;
** On the page that allows you to select additional packages select: &amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt; From the &amp;#039;&amp;#039;&amp;#039;Archive&amp;#039;&amp;#039;&amp;#039; category: &amp;lt;pre&amp;gt;zip, unzip&amp;lt;/pre&amp;gt; From the &amp;#039;&amp;#039;&amp;#039;Devel&amp;#039;&amp;#039;&amp;#039; category: &amp;lt;pre&amp;gt;autoconf, gperf, gcc-g++, bison, flex, patch, subversion, make&amp;lt;/pre&amp;gt; From the &amp;#039;&amp;#039;&amp;#039;Net&amp;#039;&amp;#039;&amp;#039; category: &amp;lt;pre&amp;gt;rsync&amp;lt;/pre&amp;gt;From the &amp;#039;&amp;#039;&amp;#039;Perl&amp;#039;&amp;#039;&amp;#039; category: &amp;lt;pre&amp;gt;perl, perl-XML-SAX-Expat, perl-Archive-Zip, perl-LWP-Protocol-https, perl-XML-parser, perl-libwww-perl, perl-Digest-SHA, perl-Net-SSLeay&amp;lt;/pre&amp;gt;As a shortcut you can install everything needed with one command:&amp;lt;pre&amp;gt;setup-x86_64.exe -P zip -P unzip -P autoconf -P gperf -P gcc-g++ -P bison -P flex -P patch -P subversion -P make -P rsync -P perl -P perl-XML-SAX-Expat -P perl-Archive-Zip -P perl-LWP-Protocol-https -P perl-XML-parser -P perl-libwww-perl -P perl-Digest-SHA -P perl-Net-SSLeay&amp;lt;/pre&amp;gt;If you will use git, you need in addition from the &amp;#039;&amp;#039;&amp;#039;Devel&amp;#039;&amp;#039;&amp;#039; category the packages:&amp;lt;pre&amp;gt;git, git-svn&amp;lt;/pre&amp;gt;&lt;br /&gt;
** Click Next to finish package selection.&lt;br /&gt;
** Click Next to resolve dependencies.&lt;br /&gt;
** After installation is finished click the Finish button to close the dialog.&lt;br /&gt;
&lt;br /&gt;
* Start Cygwin bash in a terminal and follow all the steps for 32-bit Cygwin up to and including &amp;#039;./configure&amp;#039; with relative parameters&lt;br /&gt;
** Finish configuration and download missing external source tarballs and extensions&amp;lt;pre&amp;gt;./bootstrap&amp;lt;/pre&amp;gt;&lt;br /&gt;
** Include the configured environment&amp;lt;pre&amp;gt;source winenv.set.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
** Build&amp;lt;pre&amp;gt;cd instsetoo_native/&amp;amp;#10;build --all&amp;lt;/pre&amp;gt;Depending on your computer this will take one or more hours to finish. You may want to experiment with the -P options for multi process builds to reduce the build time. &amp;lt;pre&amp;gt;build --all -P&amp;lt;m&amp;gt; -- -P&amp;lt;n&amp;gt;&amp;lt;/pre&amp;gt; tells build to use &amp;lt;code&amp;gt;m&amp;lt;/code&amp;gt; processes (build up to &amp;lt;code&amp;gt;m&amp;lt;/code&amp;gt; modules in parallel) and &amp;lt;code&amp;gt;n&amp;lt;/code&amp;gt; threads for each module.&lt;br /&gt;
&lt;br /&gt;
=Mac OS X=&lt;br /&gt;
In order to build OpenOffice on Mac OS X see [[Documentation/Building Guide AOO/Building on MacOsX|Building on MacOSX]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:Porting]]&lt;br /&gt;
[[Category:Build_System]]&lt;/div&gt;</summary>
		<author><name>Mechtilde</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Mechtilde/AOOBauen&amp;diff=245519</id>
		<title>User:Mechtilde/AOOBauen</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Mechtilde/AOOBauen&amp;diff=245519"/>
		<updated>2019-02-06T09:12:32Z</updated>

		<summary type="html">&lt;p&gt;Mechtilde: Created page with &amp;quot;This is the description how to build Apache OpenOffice on a Debian system (&amp;gt;=Debian 9). This is also an update of the build dokumentation on a Ubuntu system.  This descrip...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the description how to build [[Apache OpenOffice]] on a Debian system (&amp;gt;=Debian 9). This is also an update of the build dokumentation on a Ubuntu system.&lt;br /&gt;
&lt;br /&gt;
This description based on the following sites:&lt;br /&gt;
&lt;br /&gt;
# [[https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO Building Guide AOO]]&lt;br /&gt;
# [[https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Step_by_step Building_Guide_AOO - Step_by_step]]&lt;br /&gt;
# [[http://svn.apache.org/viewvc/openoffice/devtools/build-scripts/ Build Scripte]]&lt;/div&gt;</summary>
		<author><name>Mechtilde</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Translation_from_4.2&amp;diff=245479</id>
		<title>Translation from 4.2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Translation_from_4.2&amp;diff=245479"/>
		<updated>2019-01-06T20:31:14Z</updated>

		<summary type="html">&lt;p&gt;Mechtilde: /* Steps to do it */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
This will be a brief documentation of the translation process&lt;br /&gt;
There are two steps doing at different time of the translation process.&lt;br /&gt;
== From SVN to Pootle Web Frontend ==&lt;br /&gt;
&lt;br /&gt;
In this step you prepare the recent code strings for translation. You prepare a template file with all strings that need to be translated. They are imported into Pootle.&lt;br /&gt;
&lt;br /&gt;
The following graphic shows it. Please click on it to get a larger one.&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:UebersetzungsProzess_Start.png|Graphical illustration of the technical workflow of the translation process&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Steps to do it ===&lt;br /&gt;
&lt;br /&gt;
# Create a build system&lt;br /&gt;
#* You can use your preferred Operating System&lt;br /&gt;
#* You can use this [https://wiki.openoffice.org/wiki/Building Building Guide] and the [https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Step_by_step Step-by-Step Guide] to do it.&lt;br /&gt;
#*:&lt;br /&gt;
# Checkout the recent code base (normally the trunk branch)&lt;br /&gt;
#* &amp;#039;&amp;#039;svn co https://svn.apache.org/repos/asf/openoffice/trunk aoo&amp;#039;&amp;#039;&lt;br /&gt;
#*:&lt;br /&gt;
# Build AOO successfully&lt;br /&gt;
#*:&lt;br /&gt;
# Create the template as &amp;#039;&amp;#039;en-US.sdf&amp;#039;&amp;#039;&lt;br /&gt;
#* Detailed description using [[Localization_for_developers#Extraction|solenv/bin/localize]]&lt;br /&gt;
#* Command: &amp;#039;&amp;#039;localize -e -l en-US -f en-US.sdf&amp;#039;&amp;#039;&lt;br /&gt;
#*:&lt;br /&gt;
# Copy the file &amp;#039;&amp;#039;en.US.sdf&amp;#039;&amp;#039; to the Pootle backend&lt;br /&gt;
#* You need an access to the Pootle server ([https://translate-vm.apache.org translate-vm.apache.org])&lt;br /&gt;
#* The Pootle server runs under Ubuntu, so you have to be familiar with GNU/Linux.&lt;br /&gt;
#*:&lt;br /&gt;
# Creating templates as POT-Files&lt;br /&gt;
#* Detailed description using [http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/oo2po.html oo2po]&lt;br /&gt;
#* &amp;#039;&amp;#039;oo2po --progress=verbose --pot en-US.sdf PotFiles-UI&amp;#039;&amp;#039;&lt;br /&gt;
#* Now &amp;#039;&amp;#039;PotFiles-UI&amp;#039;&amp;#039; also contains &amp;#039;&amp;#039;helpcontent2&amp;#039;&amp;#039;. This is the content for the [[Localization_for_developers#Upload|separate project]] &amp;#039;&amp;#039;Apache OpenOffice 4.x Help&amp;#039;&amp;#039;. The subdirectory &amp;#039;&amp;#039;helpcontent2&amp;#039;&amp;#039; has to be moved into the directory &amp;#039;&amp;#039;PotFiles-HELP&amp;#039;&amp;#039;. &lt;br /&gt;
#*:&lt;br /&gt;
# Updating the database with the template files (UI and HELP)&lt;br /&gt;
#* Detailed description using [https://pootle.readthedocs.io/en/stable-2.5.1/server/commands.html#update-stores pootle update-stores]&lt;br /&gt;
#*:&lt;br /&gt;
# Merge templates with existing PO-Files for each language (UI and HELP)&lt;br /&gt;
#* Detailed description using [https://pootle.readthedocs.io/en/stable-2.5.1/server/commands.html#update-against-templates pootle update-against-templates]&lt;br /&gt;
#*:&lt;br /&gt;
The steps on the Pootle server can be done with the script &amp;#039;&amp;#039;UpdateTranslation.sh&amp;#039;&amp;#039;. This script will be published soon.&lt;br /&gt;
&lt;br /&gt;
Now the teams can translate the [https://translate.apache.org/projects/aoo40 AOO UI] and the [https://translate.apache.org/projects/aoo40help AOO HELP].&lt;br /&gt;
&lt;br /&gt;
== From Pootle Web Frontend to SVN ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:UebersetzungsProzess_Finish.png|Graphical illustration of the technical workflow of the translation process&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Steps to do it ===&lt;br /&gt;
&lt;br /&gt;
# Synchronize translation database with PO-Files for each language (UI and HELP) &lt;br /&gt;
#* Detailed description using [https://pootle.readthedocs.io/en/stable-2.5.1/server/commands.html#sync-stores pootle sync_stores]&lt;br /&gt;
#*:&lt;br /&gt;
# Create SDF from PO files&lt;br /&gt;
#* Detailed description using [http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/oo2po.html?highlight=po2oo po2oo]&lt;br /&gt;
#*:&lt;br /&gt;
# Test SDF files with &amp;#039;&amp;#039;gsicheck&amp;#039;&amp;#039;&lt;br /&gt;
#* This has to be done in a build environment after a successful build&lt;br /&gt;
#* Detailed description using [https://wiki.openoffice.org/wiki/Gsicheck#help gsicheck]&lt;br /&gt;
#* gsicheck -c -t -l ${Language} ${Language}/localize.sdf &lt;br /&gt;
#*:&lt;br /&gt;
# Commit new SDF files into the code&lt;br /&gt;
#*&lt;br /&gt;
#*:&lt;br /&gt;
&lt;br /&gt;
This can be done with scripts, too. the paths have to be adapt to the path&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- translation from/for? --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:DE]] &amp;lt;!-- author language --&amp;gt;&lt;br /&gt;
[[Category:EN]] &amp;lt;!-- text language --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mechtilde</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Translation_from_4.2&amp;diff=245478</id>
		<title>Translation from 4.2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Translation_from_4.2&amp;diff=245478"/>
		<updated>2019-01-06T20:23:22Z</updated>

		<summary type="html">&lt;p&gt;Mechtilde: /* Steps to do it */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
This will be a brief documentation of the translation process&lt;br /&gt;
There are two steps doing at different time of the translation process.&lt;br /&gt;
== From SVN to Pootle Web Frontend ==&lt;br /&gt;
&lt;br /&gt;
In this step you prepare the recent code strings for translation. You prepare a template file with all strings that need to be translated. They are imported into Pootle.&lt;br /&gt;
&lt;br /&gt;
The following graphic shows it. Please click on it to get a larger one.&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:UebersetzungsProzess_Start.png|Graphical illustration of the technical workflow of the translation process&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Steps to do it ===&lt;br /&gt;
&lt;br /&gt;
# Create a build system&lt;br /&gt;
#* You can use your preferred Operating System&lt;br /&gt;
#* You can use this [https://wiki.openoffice.org/wiki/Building Building Guide] and the [https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Step_by_step Step-by-Step Guide] to do it.&lt;br /&gt;
#*:&lt;br /&gt;
# Checkout the recent code base (normally the trunk branch)&lt;br /&gt;
#* &amp;#039;&amp;#039;svn co https://svn.apache.org/repos/asf/openoffice/trunk aoo&amp;#039;&amp;#039;&lt;br /&gt;
#*:&lt;br /&gt;
# Build AOO successfully&lt;br /&gt;
#*:&lt;br /&gt;
# Create the template as &amp;#039;&amp;#039;en-US.sdf&amp;#039;&amp;#039;&lt;br /&gt;
#* Detailed description using [[Localization_for_developers#Extraction|solenv/bin/localize]]&lt;br /&gt;
#* Command: &amp;#039;&amp;#039;localize -e -l en-US -f en-US.sdf&amp;#039;&amp;#039;&lt;br /&gt;
#*:&lt;br /&gt;
# Copy the file &amp;#039;&amp;#039;en.US.sdf&amp;#039;&amp;#039; to the Pootle backend&lt;br /&gt;
#* You need an access to the Pootle server ([https://translate-vm.apache.org translate-vm.apache.org])&lt;br /&gt;
#* The Pootle server runs under Ubuntu, so you have to be familiar with GNU/Linux.&lt;br /&gt;
#*:&lt;br /&gt;
# Creating templates as POT-Files&lt;br /&gt;
#* Detailed description using [http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/oo2po.html oo2po]&lt;br /&gt;
#* &amp;#039;&amp;#039;oo2po --progress=verbose --pot en-US.sdf PotFiles-UI&amp;#039;&amp;#039;&lt;br /&gt;
#* Now &amp;#039;&amp;#039;PotFiles-UI&amp;#039;&amp;#039; also contains &amp;#039;&amp;#039;helpcontent2&amp;#039;&amp;#039;. This is the content for the [[Localization_for_developers#Upload|separate project]] &amp;#039;&amp;#039;Apache OpenOffice 4.x Help&amp;#039;&amp;#039;. The subdirectory &amp;#039;&amp;#039;helpcontent2&amp;#039;&amp;#039; has to be moved into the directory &amp;#039;&amp;#039;PotFiles-HELP&amp;#039;&amp;#039;. &lt;br /&gt;
#*:&lt;br /&gt;
# Updating the database with the template files (UI and HELP)&lt;br /&gt;
#* Detailed description using [https://pootle.readthedocs.io/en/stable-2.5.1/server/commands.html#update-stores pootle update-stores]&lt;br /&gt;
#*:&lt;br /&gt;
# Merge templates with existing PO-Files for each language (UI and HELP)&lt;br /&gt;
#* Detailed description using [https://pootle.readthedocs.io/en/stable-2.5.1/server/commands.html#update-against-templates pootle update-against-templates]&lt;br /&gt;
#*:&lt;br /&gt;
The steps on the Pootle server can be done with the script &amp;#039;&amp;#039;UpdateTranslation.sh&amp;#039;&amp;#039;. This script will be published soon.&lt;br /&gt;
&lt;br /&gt;
Now the teams can translate the [https://translate.apache.org/projects/aoo40 AOO UI] and the [https://translate.apache.org/projects/aoo40help AOO HELP].&lt;br /&gt;
&lt;br /&gt;
== From Pootle Web Frontend to SVN ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:UebersetzungsProzess_Finish.png|Graphical illustration of the technical workflow of the translation process&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Steps to do it ===&lt;br /&gt;
&lt;br /&gt;
# Synchronize translation database with PO-Files for each language (UI and HELP) &lt;br /&gt;
#* Detailed description using [https://pootle.readthedocs.io/en/stable-2.5.1/server/commands.html#sync-stores pootle sync_stores]&lt;br /&gt;
#*:&lt;br /&gt;
# Create SDF from PO files&lt;br /&gt;
#* Detailed description using [http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/oo2po.html?highlight=po2oo po2oo]&lt;br /&gt;
#*:&lt;br /&gt;
# Test SDF files with &amp;#039;&amp;#039;gsicheck&amp;#039;&amp;#039;&lt;br /&gt;
#* This has to be done in a build environment after a successful build&lt;br /&gt;
#* gsicheck -c -t -l ${Language} ${Language}/localize.sdf&lt;br /&gt;
#*:&lt;br /&gt;
# Commit new SDF files into the code&lt;br /&gt;
#*&lt;br /&gt;
#*:&lt;br /&gt;
&lt;br /&gt;
This can be done with scripts, too. the paths have to be adapt to the path&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- translation from/for? --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:DE]] &amp;lt;!-- author language --&amp;gt;&lt;br /&gt;
[[Category:EN]] &amp;lt;!-- text language --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mechtilde</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Translation_from_4.2&amp;diff=245477</id>
		<title>Translation from 4.2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Translation_from_4.2&amp;diff=245477"/>
		<updated>2019-01-06T20:18:52Z</updated>

		<summary type="html">&lt;p&gt;Mechtilde: /* Steps to do it */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
This will be a brief documentation of the translation process&lt;br /&gt;
There are two steps doing at different time of the translation process.&lt;br /&gt;
== From SVN to Pootle Web Frontend ==&lt;br /&gt;
&lt;br /&gt;
In this step you prepare the recent code strings for translation. You prepare a template file with all strings that need to be translated. They are imported into Pootle.&lt;br /&gt;
&lt;br /&gt;
The following graphic shows it. Please click on it to get a larger one.&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:UebersetzungsProzess_Start.png|Graphical illustration of the technical workflow of the translation process&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Steps to do it ===&lt;br /&gt;
&lt;br /&gt;
# Create a build system&lt;br /&gt;
#* You can use your preferred Operating System&lt;br /&gt;
#* You can use this [https://wiki.openoffice.org/wiki/Building Building Guide] and the [https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Step_by_step Step-by-Step Guide] to do it.&lt;br /&gt;
#*:&lt;br /&gt;
# Checkout the recent code base (normally the trunk branch)&lt;br /&gt;
#* &amp;#039;&amp;#039;svn co https://svn.apache.org/repos/asf/openoffice/trunk aoo&amp;#039;&amp;#039;&lt;br /&gt;
#*:&lt;br /&gt;
# Build AOO successfully&lt;br /&gt;
#*:&lt;br /&gt;
# Create the template as &amp;#039;&amp;#039;en-US.sdf&amp;#039;&amp;#039;&lt;br /&gt;
#* Detailed description using [[Localization_for_developers#Extraction|solenv/bin/localize]]&lt;br /&gt;
#* Command: &amp;#039;&amp;#039;localize -e -l en-US -f en-US.sdf&amp;#039;&amp;#039;&lt;br /&gt;
#*:&lt;br /&gt;
# Copy the file &amp;#039;&amp;#039;en.US.sdf&amp;#039;&amp;#039; to the Pootle backend&lt;br /&gt;
#* You need an access to the Pootle server ([https://translate-vm.apache.org translate-vm.apache.org])&lt;br /&gt;
#* The Pootle server runs under Ubuntu, so you have to be familiar with GNU/Linux.&lt;br /&gt;
#*:&lt;br /&gt;
# Creating templates as POT-Files&lt;br /&gt;
#* Detailed description using [http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/oo2po.html oo2po]&lt;br /&gt;
#* &amp;#039;&amp;#039;oo2po --progress=verbose --pot en-US.sdf PotFiles-UI&amp;#039;&amp;#039;&lt;br /&gt;
#* Now &amp;#039;&amp;#039;PotFiles-UI&amp;#039;&amp;#039; also contains &amp;#039;&amp;#039;helpcontent2&amp;#039;&amp;#039;. This is the content for the [[Localization_for_developers#Upload|separate project]] &amp;#039;&amp;#039;Apache OpenOffice 4.x Help&amp;#039;&amp;#039;. The subdirectory &amp;#039;&amp;#039;helpcontent2&amp;#039;&amp;#039; has to be moved into the directory &amp;#039;&amp;#039;PotFiles-HELP&amp;#039;&amp;#039;. &lt;br /&gt;
#*:&lt;br /&gt;
# Updating the database with the template files (UI and HELP)&lt;br /&gt;
#* Detailed description using [https://pootle.readthedocs.io/en/stable-2.5.1/server/commands.html#update-stores pootle update-stores]&lt;br /&gt;
#*:&lt;br /&gt;
# Merge templates with existing PO-Files for each language (UI and HELP)&lt;br /&gt;
#* Detailed description using [https://pootle.readthedocs.io/en/stable-2.5.1/server/commands.html#update-against-templates pootle update-against-templates]&lt;br /&gt;
#*:&lt;br /&gt;
The steps on the Pootle server can be done with the script &amp;#039;&amp;#039;UpdateTranslation.sh&amp;#039;&amp;#039;. This script will be published soon.&lt;br /&gt;
&lt;br /&gt;
Now the teams can translate the [https://translate.apache.org/projects/aoo40 AOO UI] and the [https://translate.apache.org/projects/aoo40help AOO HELP].&lt;br /&gt;
&lt;br /&gt;
== From Pootle Web Frontend to SVN ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:UebersetzungsProzess_Finish.png|Graphical illustration of the technical workflow of the translation process&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Steps to do it ===&lt;br /&gt;
&lt;br /&gt;
# Synchronize translation database with PO-Files for each language (UI and HELP) &lt;br /&gt;
#* Detailed description using [https://pootle.readthedocs.io/en/stable-2.5.1/server/commands.html#sync-stores pootle sync_stores]&lt;br /&gt;
#*:&lt;br /&gt;
# Create SDF from PO files&lt;br /&gt;
#* Detailed description using [http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/oo2po.html?highlight=po2oo po2oo --progress=verbose -t en-US.sdf --skipsource --keeptimestamp --language=${Language} PO-Files/${Language}/ ../SDF-Files/localize.${Language}&lt;br /&gt;
#*:&lt;br /&gt;
# Test SDF files with &amp;#039;&amp;#039;gsicheck&amp;#039;&amp;#039;&lt;br /&gt;
#* This has to be done in a build environment after a successful build&lt;br /&gt;
#*:&lt;br /&gt;
# Commit new SDF files into the code&lt;br /&gt;
#* gsicheck -c -t -l ${Language} ${Language}/localize.sdf&lt;br /&gt;
#*:&lt;br /&gt;
&lt;br /&gt;
This can be done with scripts, too. the paths have to be adapt to the path&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- translation from/for? --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:DE]] &amp;lt;!-- author language --&amp;gt;&lt;br /&gt;
[[Category:EN]] &amp;lt;!-- text language --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mechtilde</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Translation_from_4.2&amp;diff=245476</id>
		<title>Translation from 4.2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Translation_from_4.2&amp;diff=245476"/>
		<updated>2019-01-06T20:05:18Z</updated>

		<summary type="html">&lt;p&gt;Mechtilde: /* Steps to do it */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
This will be a brief documentation of the translation process&lt;br /&gt;
There are two steps doing at different time of the translation process.&lt;br /&gt;
== From SVN to Pootle Web Frontend ==&lt;br /&gt;
&lt;br /&gt;
In this step you prepare the recent code strings for translation. You prepare a template file with all strings that need to be translated. They are imported into Pootle.&lt;br /&gt;
&lt;br /&gt;
The following graphic shows it. Please click on it to get a larger one.&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:UebersetzungsProzess_Start.png|Graphical illustration of the technical workflow of the translation process&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Steps to do it ===&lt;br /&gt;
&lt;br /&gt;
# Create a build system&lt;br /&gt;
#* You can use your preferred Operating System&lt;br /&gt;
#* You can use this [https://wiki.openoffice.org/wiki/Building Building Guide] and the [https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Step_by_step Step-by-Step Guide] to do it.&lt;br /&gt;
#*:&lt;br /&gt;
# Checkout the recent code base (normally the trunk branch)&lt;br /&gt;
#* &amp;#039;&amp;#039;svn co https://svn.apache.org/repos/asf/openoffice/trunk aoo&amp;#039;&amp;#039;&lt;br /&gt;
#*:&lt;br /&gt;
# Build AOO successfully&lt;br /&gt;
#*:&lt;br /&gt;
# Create the template as &amp;#039;&amp;#039;en-US.sdf&amp;#039;&amp;#039;&lt;br /&gt;
#* Detailed description using [[Localization_for_developers#Extraction|solenv/bin/localize]]&lt;br /&gt;
#* Command: &amp;#039;&amp;#039;localize -e -l en-US -f en-US.sdf&amp;#039;&amp;#039;&lt;br /&gt;
#*:&lt;br /&gt;
# Copy the file &amp;#039;&amp;#039;en.US.sdf&amp;#039;&amp;#039; to the Pootle backend&lt;br /&gt;
#* You need an access to the Pootle server ([https://translate-vm.apache.org translate-vm.apache.org])&lt;br /&gt;
#* The Pootle server runs under Ubuntu, so you have to be familiar with GNU/Linux.&lt;br /&gt;
#*:&lt;br /&gt;
# Creating templates as POT-Files&lt;br /&gt;
#* Detailed description using [http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/oo2po.html oo2po]&lt;br /&gt;
#* &amp;#039;&amp;#039;oo2po --progress=verbose --pot en-US.sdf PotFiles-UI&amp;#039;&amp;#039;&lt;br /&gt;
#* Now &amp;#039;&amp;#039;PotFiles-UI&amp;#039;&amp;#039; also contains &amp;#039;&amp;#039;helpcontent2&amp;#039;&amp;#039;. This is the content for the [[Localization_for_developers#Upload|separate project]] &amp;#039;&amp;#039;Apache OpenOffice 4.x Help&amp;#039;&amp;#039;. The subdirectory &amp;#039;&amp;#039;helpcontent2&amp;#039;&amp;#039; has to be moved into the directory &amp;#039;&amp;#039;PotFiles-HELP&amp;#039;&amp;#039;. &lt;br /&gt;
#*:&lt;br /&gt;
# Updating the database with the template files (UI and HELP)&lt;br /&gt;
#* Detailed description using [https://pootle.readthedocs.io/en/stable-2.5.1/server/commands.html#update-stores pootle update-stores]&lt;br /&gt;
#*:&lt;br /&gt;
# Merge templates with existing PO-Files for each language (UI and HELP)&lt;br /&gt;
#* Detailed description using [https://pootle.readthedocs.io/en/stable-2.5.1/server/commands.html#update-against-templates pootle update-against-templates]&lt;br /&gt;
#*:&lt;br /&gt;
The steps on the Pootle server can be done with the script &amp;#039;&amp;#039;UpdateTranslation.sh&amp;#039;&amp;#039;. This script will be published soon.&lt;br /&gt;
&lt;br /&gt;
Now the teams can translate the [https://translate.apache.org/projects/aoo40 AOO UI] and the [https://translate.apache.org/projects/aoo40help AOO HELP].&lt;br /&gt;
&lt;br /&gt;
== From Pootle Web Frontend to SVN ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:UebersetzungsProzess_Finish.png|Graphical illustration of the technical workflow of the translation process&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Steps to do it ===&lt;br /&gt;
&lt;br /&gt;
# Synchronize translation database with PO-Files&lt;br /&gt;
#*&lt;br /&gt;
#*:&lt;br /&gt;
# Create SDF from PO files&lt;br /&gt;
#*&lt;br /&gt;
#*:&lt;br /&gt;
# Test SDF files with &amp;#039;&amp;#039;gsicheck&amp;#039;&amp;#039;&lt;br /&gt;
#*&lt;br /&gt;
#*:&lt;br /&gt;
# Commit new SDF files into the code&lt;br /&gt;
#*&lt;br /&gt;
#*:&lt;br /&gt;
&lt;br /&gt;
This can be done with scripts, too.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- translation from/for? --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:DE]] &amp;lt;!-- author language --&amp;gt;&lt;br /&gt;
[[Category:EN]] &amp;lt;!-- text language --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mechtilde</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Translation_from_4.2&amp;diff=245474</id>
		<title>Translation from 4.2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Translation_from_4.2&amp;diff=245474"/>
		<updated>2019-01-06T20:01:26Z</updated>

		<summary type="html">&lt;p&gt;Mechtilde: /* From Pootle Web Frontend to SVN */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
This will be a brief documentation of the translation process&lt;br /&gt;
There are two steps doing at different time of the translation process.&lt;br /&gt;
== From SVN to Pootle Web Frontend ==&lt;br /&gt;
&lt;br /&gt;
In this step you prepare the recent code stings for translation. You prepare a template file with all strings to have to be translated. They are imported into Pootle.&lt;br /&gt;
&lt;br /&gt;
The following graphic shows it. Please click on it to get a larger one.&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:UebersetzungsProzess_Start.png|Graphical illustration of the technical workflow of the translation process&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Steps to do it ===&lt;br /&gt;
&lt;br /&gt;
# Create a build system&lt;br /&gt;
#* You can use your preferred Operating System&lt;br /&gt;
#* You can use this [https://wiki.openoffice.org/wiki/Building Building Guide] and the [https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Step_by_step Step-by-Step Guide] to do it.&lt;br /&gt;
#*:&lt;br /&gt;
# Checkout the recent code base (normally the trunk branch)&lt;br /&gt;
#* &amp;#039;&amp;#039;svn co https://svn.apache.org/repos/asf/openoffice/trunk aoo&amp;#039;&amp;#039;&lt;br /&gt;
#*:&lt;br /&gt;
# Build AOO successfully&lt;br /&gt;
#*:&lt;br /&gt;
# Create the template as &amp;#039;&amp;#039;en-US.sdf&amp;#039;&amp;#039;&lt;br /&gt;
#* Detailed description using [[Localization_for_developers#Extraction|solenv/bin/localize]]&lt;br /&gt;
#* Command: &amp;#039;&amp;#039;localize -e -l en-US -f en-US.sdf&amp;#039;&amp;#039;&lt;br /&gt;
#*:&lt;br /&gt;
# Copy the file &amp;#039;&amp;#039;en.US.sdf&amp;#039;&amp;#039; to the Pootle backend&lt;br /&gt;
#* You need an access to the Pootle server ([https://translate-vm.apache.org translate-vm.apache.org])&lt;br /&gt;
#* The Pootle server runs under Ubuntu, so you have to be familiar with GNU/Linux.&lt;br /&gt;
#*:&lt;br /&gt;
# Creating templates as POT-Files&lt;br /&gt;
#* Detailed description using [http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/oo2po.html oo2po]&lt;br /&gt;
#* &amp;#039;&amp;#039;oo2po --progress=verbose --pot en-US.sdf PotFiles-UI&amp;#039;&amp;#039;&lt;br /&gt;
#* Now &amp;#039;&amp;#039;PotFiles-UI&amp;#039;&amp;#039; also contains &amp;#039;&amp;#039;helpcontent2&amp;#039;&amp;#039;. This is the content for the [[Localization_for_developers#Upload|separate project]] &amp;#039;&amp;#039;Apache OpenOffice 4.x Help&amp;#039;&amp;#039;. The subdirectory &amp;#039;&amp;#039;helpcontent2&amp;#039;&amp;#039; has to be moved into the directory &amp;#039;&amp;#039;PotFiles-HELP&amp;#039;&amp;#039;. &lt;br /&gt;
#*:&lt;br /&gt;
# Updating the database with the template files (UI and HELP)&lt;br /&gt;
#* Detailed description using [https://pootle.readthedocs.io/en/stable-2.5.1/server/commands.html#update-stores pootle update-stores]&lt;br /&gt;
#*:&lt;br /&gt;
# Merge templates with existing PO-Files for each language (UI and HELP)&lt;br /&gt;
#* Detailed description using [https://pootle.readthedocs.io/en/stable-2.5.1/server/commands.html#update-against-templates pootle update-against-templates]&lt;br /&gt;
#*:&lt;br /&gt;
The steps on the Pootle server can be done with the script &amp;#039;&amp;#039;UpdateTranslation.sh&amp;#039;&amp;#039;. This script will be published soon.&lt;br /&gt;
&lt;br /&gt;
Now the teams can translate the [https://translate.apache.org/projects/aoo40 AOO UI] and the [https://translate.apache.org/projects/aoo40help AOO HELP].&lt;br /&gt;
&lt;br /&gt;
== From Pootle Web Frontend to SVN ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:UebersetzungsProzess_Finish.png|Graphical illustration of the technical workflow of the translation process&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Steps to do it ===&lt;br /&gt;
&lt;br /&gt;
# Synchronize translation database with PO-Files&lt;br /&gt;
#*&lt;br /&gt;
#*:&lt;br /&gt;
# Create SDF from PO-Files&lt;br /&gt;
#*&lt;br /&gt;
#*:&lt;br /&gt;
&lt;br /&gt;
This can be done with scripts at Pootle, too.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- translation from/for? --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:DE]] &amp;lt;!-- author language --&amp;gt;&lt;br /&gt;
[[Category:EN]] &amp;lt;!-- text language --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mechtilde</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Translation_from_4.2&amp;diff=245473</id>
		<title>Translation from 4.2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Translation_from_4.2&amp;diff=245473"/>
		<updated>2019-01-06T19:56:13Z</updated>

		<summary type="html">&lt;p&gt;Mechtilde: /* Steps to do it */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
This will be a brief documentation of the translation process&lt;br /&gt;
There are two steps doing at different time of the translation process.&lt;br /&gt;
== From SVN to Pootle Web Frontend ==&lt;br /&gt;
&lt;br /&gt;
In this step you prepare the recent code stings for translation. You prepare a template file with all strings to have to be translated. They are imported into Pootle.&lt;br /&gt;
&lt;br /&gt;
The following graphic shows it. Please click on it to get a larger one.&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:UebersetzungsProzess_Start.png|Graphical illustration of the technical workflow of the translation process&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Steps to do it ===&lt;br /&gt;
&lt;br /&gt;
# Create a build system&lt;br /&gt;
#* You can use your preferred Operating System&lt;br /&gt;
#* You can use this [https://wiki.openoffice.org/wiki/Building Building Guide] and the [https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Step_by_step Step-by-Step Guide] to do it.&lt;br /&gt;
#*:&lt;br /&gt;
# Checkout the recent code base (normally the trunk branch)&lt;br /&gt;
#* &amp;#039;&amp;#039;svn co https://svn.apache.org/repos/asf/openoffice/trunk aoo&amp;#039;&amp;#039;&lt;br /&gt;
#*:&lt;br /&gt;
# Build AOO successfully&lt;br /&gt;
#*:&lt;br /&gt;
# Create the template as &amp;#039;&amp;#039;en-US.sdf&amp;#039;&amp;#039;&lt;br /&gt;
#* Detailed description using [[Localization_for_developers#Extraction|solenv/bin/localize]]&lt;br /&gt;
#* Command: &amp;#039;&amp;#039;localize -e -l en-US -f en-US.sdf&amp;#039;&amp;#039;&lt;br /&gt;
#*:&lt;br /&gt;
# Copy the file &amp;#039;&amp;#039;en.US.sdf&amp;#039;&amp;#039; to the Pootle backend&lt;br /&gt;
#* You need an access to the Pootle server ([https://translate-vm.apache.org translate-vm.apache.org])&lt;br /&gt;
#* The Pootle server runs under Ubuntu, so you have to be familiar with GNU/Linux.&lt;br /&gt;
#*:&lt;br /&gt;
# Creating templates as POT-Files&lt;br /&gt;
#* Detailed description using [http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/oo2po.html oo2po]&lt;br /&gt;
#* &amp;#039;&amp;#039;oo2po --progress=verbose --pot en-US.sdf PotFiles-UI&amp;#039;&amp;#039;&lt;br /&gt;
#* Now &amp;#039;&amp;#039;PotFiles-UI&amp;#039;&amp;#039; also contains &amp;#039;&amp;#039;helpcontent2&amp;#039;&amp;#039;. This is the content for the [[Localization_for_developers#Upload|separate project]] &amp;#039;&amp;#039;Apache OpenOffice 4.x Help&amp;#039;&amp;#039;. The subdirectory &amp;#039;&amp;#039;helpcontent2&amp;#039;&amp;#039; has to be moved into the directory &amp;#039;&amp;#039;PotFiles-HELP&amp;#039;&amp;#039;. &lt;br /&gt;
#*:&lt;br /&gt;
# Updating the database with the template files (UI and HELP)&lt;br /&gt;
#* Detailed description using [https://pootle.readthedocs.io/en/stable-2.5.1/server/commands.html#update-stores pootle update-stores]&lt;br /&gt;
#*:&lt;br /&gt;
# Merge templates with existing PO-Files for each language (UI and HELP)&lt;br /&gt;
#* Detailed description using [https://pootle.readthedocs.io/en/stable-2.5.1/server/commands.html#update-against-templates pootle update-against-templates]&lt;br /&gt;
#*:&lt;br /&gt;
The steps on the Pootle server can be done with the script &amp;#039;&amp;#039;UpdateTranslation.sh&amp;#039;&amp;#039;. This script will be published soon.&lt;br /&gt;
&lt;br /&gt;
Now the teams can translate the [https://translate.apache.org/projects/aoo40 AOO UI] and the [https://translate.apache.org/projects/aoo40help AOO HELP].&lt;br /&gt;
&lt;br /&gt;
== From Pootle Web Frontend to SVN ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:UebersetzungsProzess_Finish.png|Graphical illustration of the technical workflow of the translation process&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- translation from/for? --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:DE]] &amp;lt;!-- author language --&amp;gt;&lt;br /&gt;
[[Category:EN]] &amp;lt;!-- text language --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mechtilde</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Translation_from_4.2&amp;diff=245472</id>
		<title>Translation from 4.2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Translation_from_4.2&amp;diff=245472"/>
		<updated>2019-01-06T19:02:36Z</updated>

		<summary type="html">&lt;p&gt;Mechtilde: /* Steps to do it */  (Zwischenspeicherung)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
This will be a brief documentation of the translation process&lt;br /&gt;
There are two steps doing at different time of the translation process.&lt;br /&gt;
== From SVN to Pootle Web Frontend ==&lt;br /&gt;
&lt;br /&gt;
In this step you prepare the recent code stings for translation. You prepare a template file with all strings to have to be translated. They are imported into Pootle.&lt;br /&gt;
&lt;br /&gt;
The following graphic shows it. Please click on it to get a larger one.&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:UebersetzungsProzess_Start.png|Graphical illustration of the technical workflow of the translation process&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Steps to do it ===&lt;br /&gt;
&lt;br /&gt;
# Create a build system&lt;br /&gt;
#* You can use your preferred Operating System&lt;br /&gt;
#* You can use this [https://wiki.openoffice.org/wiki/Building Building Guide] and the [https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Step_by_step Step-by-Step Guide] to do it.&lt;br /&gt;
#*:&lt;br /&gt;
# Checkout the recent code base (normally the trunk branch)&lt;br /&gt;
#* &amp;#039;&amp;#039;svn co https://svn.apache.org/repos/asf/openoffice/trunk aoo&amp;#039;&amp;#039;&lt;br /&gt;
#*:&lt;br /&gt;
# Build AOO successfully&lt;br /&gt;
#*:&lt;br /&gt;
# Create the template as &amp;#039;&amp;#039;en-US.sdf&amp;#039;&amp;#039;&lt;br /&gt;
#* Detailed description using [[Localization_for_developers#Extraction|solenv/bin/localize]]&lt;br /&gt;
#* Command: &amp;#039;&amp;#039;localize -e -l en-US -f en-US.sdf&amp;#039;&amp;#039;&lt;br /&gt;
#*:&lt;br /&gt;
# Copy the file &amp;#039;&amp;#039;en.US.sdf&amp;#039;&amp;#039; to the Pootle backend&lt;br /&gt;
#* You need an access to the Pootle server ([https://translate-vm.apache.org translate-vm.apache.org])&lt;br /&gt;
#* The Pootle server runs under Ubuntu, so you have to be familiar with GNU/Linux.&lt;br /&gt;
#*:&lt;br /&gt;
# Creating templates as POT-Files&lt;br /&gt;
#* Detailed description using [http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/oo2po.html oo2po]&lt;br /&gt;
#* &amp;#039;&amp;#039;oo2po --progress=verbose --pot aoo/main/en-US.sdf PotFiles-UI&amp;#039;&amp;#039;&lt;br /&gt;
#* This can be done with the script &amp;#039;&amp;#039;UpdateTranslation.sh&amp;#039;&amp;#039;&lt;br /&gt;
#*:&lt;br /&gt;
# &lt;br /&gt;
&lt;br /&gt;
These scripts will be published soon.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now the teams can translate the [https://translate.apache.org/projects/aoo40 AOO UI] and the [https://translate.apache.org/projects/aoo40help AOO HELP].&lt;br /&gt;
&lt;br /&gt;
== From Pootle Web Frontend to SVN ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:UebersetzungsProzess_Finish.png|Graphical illustration of the technical workflow of the translation process&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- translation from/for? --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:DE]] &amp;lt;!-- author language --&amp;gt;&lt;br /&gt;
[[Category:EN]] &amp;lt;!-- text language --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mechtilde</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Localization_for_developers&amp;diff=245471</id>
		<title>Localization for developers</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Localization_for_developers&amp;diff=245471"/>
		<updated>2019-01-06T17:54:20Z</updated>

		<summary type="html">&lt;p&gt;Mechtilde: /* Extraction */  remove &amp;#039;.main&amp;#039; because it isn&amp;#039;t part of the file name&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Note|This article is outdated in some places, but still reflects the current process. See [[Localization AOO]] for a proposal, codename genLang, not implemented yet. We update the process under [[Translation_from_4.2|Translation since version 4.2]]}}&lt;br /&gt;
&lt;br /&gt;
==Overview==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Localization, often abreviated as l10n, from the perspective of the developer is a multi-step process that involves a variety of tools.  Most of these tools as well as the central data format (SDF) are specific to OpenOffice and not used anywhere else.  Only a part of the workflow is integrated into the build system.  Much of it requires manual steps to be taken.  Some of the tools involved are not part of the OpenOffice SVN and, due to a hard disk crash of the old pootle server, are lost.&lt;br /&gt;
&lt;br /&gt;
The actual translation is done with the help of a [http://translate.sourceforge.net/wiki/pootle/index pootle server].  Most of the localization workflow is about uploading and downloading data to/from the pootle server and about extraction/merging of strings from/into source files.&lt;br /&gt;
&lt;br /&gt;
The localization data can be found in [http://svn.apache.org/viewvc/incubator/ooo/trunk/extras/l10n/ extras/l10n], the tools are in [http://svn.apache.org/viewvc/incubator/ooo/trunk/main/l10ntools/ main/l10ntools].&lt;br /&gt;
&lt;br /&gt;
If you are looking for information about how to contribute translations then [[Localization|this page]] gives an (outdated) overview.&lt;br /&gt;
&lt;br /&gt;
==Workflow==&lt;br /&gt;
&lt;br /&gt;
The localization process consists of several steps.&lt;br /&gt;
The short version look like is this:&lt;br /&gt;
;[[#Content Creation|Content Creation]] &lt;br /&gt;
:Write code or help files or any other content that needs localization.&lt;br /&gt;
;[[#Extraction|Extraction]]&lt;br /&gt;
:Once in a while (for every milestone) the localize_sl script is used to extract the strings that need to be localized.&lt;br /&gt;
;[[#Upload|Upload]]&lt;br /&gt;
:The sdf file created by localize_sl is uploaded to the pootle server and transformed/converted into po files.&lt;br /&gt;
;[[#Translation|Translation]]&lt;br /&gt;
:Translation takes place, either directly via the pootle server&amp;#039;s html frontend or via an offline editor.&lt;br /&gt;
;[[#Download|Download]]&lt;br /&gt;
:The po files are eventually downloaded from the pootle server, converted into sdf files and checked for errors.&lt;br /&gt;
;[[#Integration|Integration]]&lt;br /&gt;
:When the office is built with configure switch --with-lang=&amp;quot;...&amp;quot; then the English strings are replaced by translated strings from the localize.sdf files.  The result is a localized install-set ready to use or a language pack that can be applied to an already installed office.&lt;br /&gt;
&lt;br /&gt;
===Content Creation===&lt;br /&gt;
Write text that needs to be localized.  This can be help files, configuration files (.xcu), or resource files (.rsc).  Source code does not contain localizable strings directly but uses resource files for that.&lt;br /&gt;
&lt;br /&gt;
===Extraction===&lt;br /&gt;
Once in a while (for every milestone) run solenv/bin/localize (which forwards the call to solver/340/&amp;lt;platform&amp;gt;/bin/localize_sl&amp;lt;.exe&amp;gt; which forwards it to solver/340/&amp;lt;platform&amp;gt;/bin/localize&amp;lt;.exe&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
localize iterates over all files in the source tree and searches for files that may contain strings that need localization.  The found files are processed with one of several extractors (implemented in a variety of languages: C++, Python, Java).  The result is one single sdf file.&lt;br /&gt;
&lt;br /&gt;
A typical call to localize looks like this:&lt;br /&gt;
    localize -e -l en-US -f foo.sdf&lt;br /&gt;
&lt;br /&gt;
The resulting foo.sdf has at the moment (SVN revision 1237934) 72556 lines and 13,063,597 bytes.  45302 lines (9,026,966 bytes) of these belong to the helpcontent2 module.&lt;br /&gt;
&lt;br /&gt;
At the moment localize runs with errors on Windows: jpropex, a shell script that calls a java program does not run.  Linux is OK.&lt;br /&gt;
&lt;br /&gt;
Note: On Linux or MacOS you have to use a full qualified path to the output file. Otherwise you won&amp;#039;t get an output file and also no error. The tooling seems to be very error-prone. A lot of space for improvements.&lt;br /&gt;
&lt;br /&gt;
===Upload===&lt;br /&gt;
The sdf file created by localize is uploaded to the pootle server and transformed/converted into template pot files (not necessarily in this order). The existing templates (pot) files for the project should be updated and all languages should be synced against the new templates&lt;br /&gt;
&lt;br /&gt;
The helpcontent2 module is handled separately from the other modules, so as not to dishearten translators that work on the UI part (everything not helpcontent2) and do not see progress (due to the larger number of strings in helpcontent2.)&lt;br /&gt;
&lt;br /&gt;
We should create 2 separate projects: one for &amp;#039;&amp;#039;&amp;#039;UI&amp;#039;&amp;#039;&amp;#039; and one for &amp;#039;&amp;#039;&amp;#039;Help&amp;#039;&amp;#039;&amp;#039;. And we should keep it separated between versions because there will be probably some overlap with potential conflicts. Maybe an approach of keeping two versions in pootle to give translators the chance to work on translation after a release. And to allow future development toward the next release in parallel. &lt;br /&gt;
&lt;br /&gt;
For example something like:&lt;br /&gt;
* Apache OpenOffice 3.4 UI (aoo34)&lt;br /&gt;
* Apache OpenOffice 3.4 Help (aoo34help)&lt;br /&gt;
* Apache OpenOffice 4.0 UI (aoo40)&lt;br /&gt;
* Apache OpenOffice 4.0 Help (aoo40help)&lt;br /&gt;
&lt;br /&gt;
===Translation===&lt;br /&gt;
Translation takes place, either directly via the pootle server&amp;#039;s html frontend or via an offline editor.&lt;br /&gt;
&lt;br /&gt;
===Download===&lt;br /&gt;
The po files are eventually downloaded from the pootle server, converted into sdf (or converted and then downloaded) and and checked for various errors with gsicheck tool. Then they are integrated into the localize.sdf files in extras/l10n/source/&amp;lt;language&amp;gt;/&lt;br /&gt;
&lt;br /&gt;
===Integration===&lt;br /&gt;
When the office is built with configure switch --with-lang=&amp;quot;...&amp;quot;&lt;br /&gt;
then extras/l10n is built and the localize.sdf files are&lt;br /&gt;
rearranged.  In l10n they are grouped according to language.  Now&lt;br /&gt;
they are grouped according to module (and directory.) The sdf files&lt;br /&gt;
in extras/l10/&amp;lt;platform&amp;gt;/misc/sdf are zipped into one archive per&lt;br /&gt;
module and delivered into&lt;br /&gt;
main/solver/340/&amp;lt;platform&amp;gt;/sdf/&amp;lt;module&amp;gt;.zip and then forgotten (at&lt;br /&gt;
least for the processing of src files.)&lt;br /&gt;
&lt;br /&gt;
Resource files (src files) are processed when the other modules are&lt;br /&gt;
built.  The original src files contain strings only for en_US in&lt;br /&gt;
lines that look like&lt;br /&gt;
    Text [en_US] = &amp;quot;...&amp;quot;;&lt;br /&gt;
transex3 adds the missing languages by adding lines like&lt;br /&gt;
    Text [de] = &amp;quot;...&amp;quot;;&lt;br /&gt;
By default all (available) languages are added not just the ones&lt;br /&gt;
given to configure&amp;#039;s --with-lang switch.&lt;br /&gt;
The augmented src files are placed in &amp;lt;module&amp;gt;/&amp;lt;platform&amp;gt;/misc/...&lt;br /&gt;
These are then aggregated into some srs files in&lt;br /&gt;
&amp;lt;module&amp;gt;/&amp;lt;platform&amp;gt;/srs/.&lt;br /&gt;
In a (or several) following step(s) the srs files are aggregated into res files, one for each language.&lt;br /&gt;
&lt;br /&gt;
The resulting res files are delivered to main/solver and become part of the installation sets. Multi-language versions contain res files for more than one language.&lt;br /&gt;
&lt;br /&gt;
At runtime the ResMgr class from the tools module is responsible to use the resource files of the currently selected language whenever a string is requested (as is the case for e.g. all button texts and in general for all text visible in the GUI.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==File Formats==&lt;br /&gt;
&lt;br /&gt;
Quite a number of different file formats are involved in the localization process.  The following list is not complete and may be inaccurate:&lt;br /&gt;
;src&lt;br /&gt;
:    Source files of resources.  Most strings used in the GUI are defined in .src files.&lt;br /&gt;
;hrc&lt;br /&gt;
:    Header files of .src resource files.&lt;br /&gt;
;srs&lt;br /&gt;
:    Made by rsc (which calls rscpp and rsc2) from multiple src files with *all* language strings included.&lt;br /&gt;
;res&lt;br /&gt;
:    Created by transex3 from .srs files.&lt;br /&gt;
;sdf&lt;br /&gt;
:    Used to store localized/localizable strings and their origins.  Comparable to .po files.&lt;br /&gt;
;pot&lt;br /&gt;
:    Created by gettext from source files.  Contains strings that need translation.  Not used by OpenOffice.&lt;br /&gt;
;po&lt;br /&gt;
:    Contains the translated strings from a .pot file.  Used on the pootle server.&lt;br /&gt;
;xhp&lt;br /&gt;
:    Help files of OpenOffice.  Another source for strings that need translation.&lt;br /&gt;
;xliff&lt;br /&gt;
:    A format with the same usage of .po, but it has more functionalities and is standardized.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Tools==&lt;br /&gt;
&lt;br /&gt;
A large number of tools, implemented in a variety of languages (C++, Java, Perl, Python, sh) are involved in the localization process.  They mostly extract strings from source files and merge the translated strings back in, or transform between different data formats.&lt;br /&gt;
&lt;br /&gt;
The following list is not (yet) complete and may (still) be inaccurate:&lt;br /&gt;
;transex3&lt;br /&gt;
;rsc&lt;br /&gt;
;rscpp&lt;br /&gt;
;rsc2&lt;br /&gt;
;localize&lt;br /&gt;
;localize_sl&lt;br /&gt;
;xhtex&lt;br /&gt;
:   called from localize to extract strings from .tree or .xtx files.&lt;br /&gt;
;ulfex&lt;br /&gt;
:   called from localize to extract strings from .ulf files.&lt;br /&gt;
;xmlex&lt;br /&gt;
:   called from localize to extract strings from .xrb, .xxl, and .xgf files.&lt;br /&gt;
;cfgex&lt;br /&gt;
:   called from localize to extract strings from .xcd, .xcu, and .xcs files.&lt;br /&gt;
;xrmex&lt;br /&gt;
:   called from localize to extract strings from .xrm files.&lt;br /&gt;
;helpex&lt;br /&gt;
:   called from localize to extract strings from .xhp files.&lt;br /&gt;
;jpropex&lt;br /&gt;
:   called from localize to extract strings from .properties files.&lt;br /&gt;
&lt;br /&gt;
==Roundtrip==&lt;br /&gt;
The necessary steps to provide a full round trip of the localization. &lt;br /&gt;
&lt;br /&gt;
* From &amp;#039;&amp;#039;&amp;#039;resource&amp;#039;&amp;#039;&amp;#039; files to &amp;#039;&amp;#039;&amp;#039;sdf&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 cd main&lt;br /&gt;
 localize -e -l en-US -f en-US.sdf&lt;br /&gt;
&lt;br /&gt;
* From &amp;#039;&amp;#039;&amp;#039;sdf&amp;#039;&amp;#039;&amp;#039; to &amp;#039;&amp;#039;&amp;#039;pot&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
Use the generated en-US.sdf as source and create a set of template pot files for the Pootle project&lt;br /&gt;
 oo2po -P en-US.sdf templates&lt;br /&gt;
&lt;br /&gt;
This set of pot files in the directory &amp;#039;&amp;#039;&amp;#039;templates&amp;#039;&amp;#039;&amp;#039; should now be updated on the pootle server. Copy the complete &amp;#039;&amp;#039;templates&amp;#039;&amp;#039; directory in the &amp;#039;&amp;#039;po&amp;#039;&amp;#039; directory of the Pootle server in the related propject directory.&lt;br /&gt;
&lt;br /&gt;
For example assuming our project id is &amp;#039;&amp;#039;aoo34&amp;#039;&amp;#039; and the Pootle server is under &amp;#039;&amp;#039;/var/www/Pootle&amp;#039;&amp;#039;&lt;br /&gt;
 cp -r templates /var/www/Pootle/po/aoo34/templates&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;NOTE&amp;#039;&amp;#039;&amp;#039;: Don&amp;#039;t forget to move the &amp;#039;&amp;#039;helpcontent2&amp;#039;&amp;#039; directory and copy it in the templates directory of the corresponding &amp;#039;&amp;#039;aoo34help&amp;#039;&amp;#039; project.&lt;br /&gt;
&lt;br /&gt;
Update all existing languages to be aligned with the new templates.&lt;br /&gt;
 cd /var/www/Pootle&lt;br /&gt;
 ./manage.py update_from_templates --project=aoo34&lt;br /&gt;
or &lt;br /&gt;
 ./manage.py update_from_templates --project=aoo34 --language=de &lt;br /&gt;
to update a specific language. Probably it is also possible to specify both projects with &amp;#039;&amp;#039;--project=aoo34, aoo34help&amp;#039;&amp;#039; and a list of languages with &amp;#039;&amp;#039;--language=de,fr,es,...&amp;#039;&amp;#039; (not tested it yet)&lt;br /&gt;
If you update &amp;#039;&amp;#039;po&amp;#039;&amp;#039; files for an existing language (translated external) you should update the stores with&lt;br /&gt;
 ./manage.py update_translation_projects --project=aoo34,aoo34help&lt;br /&gt;
 ./manage.py update_stores  --project=aoo34,aoo34help [--language=de,fr,es,...]&lt;br /&gt;
&lt;br /&gt;
* from &amp;#039;&amp;#039;&amp;#039;po&amp;#039;&amp;#039;&amp;#039; to &amp;#039;&amp;#039;&amp;#039;sdf&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
First step is to resync the database into the &amp;#039;&amp;#039;&amp;#039;po&amp;#039;&amp;#039;&amp;#039; files because otherwise the made changes are only in the database. For example sync the UI strings for &amp;#039;&amp;#039;de&amp;#039;&amp;#039; back into the &amp;#039;&amp;#039;po&amp;#039;&amp;#039; files. &lt;br /&gt;
 ./manage.py sync_stores --project=aoo34 --language=de&lt;br /&gt;
&lt;br /&gt;
The next step is create a new &amp;#039;&amp;#039;&amp;#039;sdf&amp;#039;&amp;#039;&amp;#039; based on this updated &amp;#039;&amp;#039;&amp;#039;po&amp;#039;&amp;#039;&amp;#039; files.&lt;br /&gt;
 po2oo -l de -t en-US.sdf --keeptimestamp --skipsource de new_de.sdf&lt;br /&gt;
This command used the template en-US.sdf and created a new &amp;#039;&amp;#039;&amp;#039;sdf&amp;#039;&amp;#039;&amp;#039; file containing the new &amp;#039;&amp;#039;de&amp;#039;&amp;#039; translations. If you skip the parameter &amp;#039;&amp;#039;skipsource&amp;#039;&amp;#039; the &amp;#039;&amp;#039;en-US&amp;#039;&amp;#039; source translations are also included in the &amp;#039;&amp;#039;sdf&amp;#039;&amp;#039; file. Can be useful for some verification.&lt;br /&gt;
&lt;br /&gt;
This &amp;#039;&amp;#039;&amp;#039;new_de.sdf&amp;#039;&amp;#039;&amp;#039; has to be copied in &amp;#039;&amp;#039;&amp;#039;extras/l18n/source/de/localize.sdf&amp;#039;&amp;#039;&amp;#039; and used for the next build.&lt;br /&gt;
&lt;br /&gt;
===Update to new templates===&lt;br /&gt;
When we have created a new set of templates based on the latest UI changes we have to synchronize the Pootle data accordingly.&lt;br /&gt;
Let assume we are currently in some temp directory and have existing po files in &amp;#039;&amp;#039;&amp;#039;aoo34/es/...&amp;#039;&amp;#039;&amp;#039; and have new templates in &amp;#039;&amp;#039;&amp;#039;aoo34/templates/...&amp;#039;&amp;#039;&amp;#039; then we can create a new set of po files with&lt;br /&gt;
 pot2po -t aoo34/es aoo34/templates es_new&lt;br /&gt;
This command will merge the existing translations found in &amp;#039;&amp;#039;&amp;#039;aoo34/es&amp;#039;&amp;#039;&amp;#039; and merge them with the new templates and stores the new po files in *es_new*. This new po files can be copied in the Pootle project directory &amp;#039;&amp;#039;&amp;#039;&amp;lt;pootle_install_dir&amp;gt;/po/aoo34/es&amp;#039;&amp;#039;&amp;#039;. The database have to be synchronized with the new po files&lt;br /&gt;
 cd &amp;lt;pootle_install_dir&amp;gt;&lt;br /&gt;
 ./manage.py update_stores --project=aoo34 --language=es&lt;br /&gt;
&lt;br /&gt;
==Critique==&lt;br /&gt;
The current localization workflow as outlined above has several drawbacks.&lt;br /&gt;
&lt;br /&gt;
*The workflow looks more like an ad-hoc solution than a designed approach.&lt;br /&gt;
*The tools involved are written in a variety of languages: C++, Java, Perl, and Python.  This is not bad in itself. For example it makes sense to parse Java property files with Java code.  But there is also C++ code for iterating over the tree of source files that uses hard coded lists of other executables and scripts for processing individual files.  That leads to many processes to be created and destroyed, something that is notoriously slow on Windows.&lt;br /&gt;
*Some of the tools are not used anymore.  For example I did not find any .xtx, .xrb, .xxl, .xgf, or .xcd files. Therefore the xbtxex and xmlex tools can be dropped. (May have already happened for xmlex)  Others are used but do not run (like the jpropex tool). And then there is our own preprocessor for handling resource files, which might be replaceable by the standard C/C++ preprocessor (which parses the included hrc files anyway since they are included in C++ code.)&lt;br /&gt;
*OpenOffice uses its own non-standard file format (SDF) for handling localized strings.  In order to use a pootle server for the actual translation, all .sdf files have to be transformed into .po files and, after translation, back into .sdf files. It should be also taken into consideration a future migration to xliff format for translation handout. &lt;br /&gt;
*The localization workflow is convoluted and hard to understand.  Much tooling is involved outside the build process.  This results in a manual process that is undocumented and known only to a select few.  Some of this tooling seems to be lost after a disk crash of the old OpenOffice pootle server: it was not even contained in the source code repository.&lt;br /&gt;
&lt;br /&gt;
==Outlook==&lt;br /&gt;
&lt;br /&gt;
Here is a list of things for improving the localization workflow:&lt;br /&gt;
*Understand the current workflow better by analyzing and documenting it.&lt;br /&gt;
*Get rid of the .sdf files.  Use the .po or .xliff files directly.  The file format does not seem to be much more complicated.  The transformation from .sdf to .po and back again would not longer be necessary.  Widely used tools (used and developed outside the OpenOffice project) could be used.&lt;br /&gt;
*Streamline the number and implementation of the tools used for extraction and merging of localizable strings.  Use the right language for each task.&lt;br /&gt;
*Integrate the string extraction into the build process.  Most of the files that can contain localizable strings are already part of the build system, mostly for the merge process.  For example there are make-rules for transforming and merging rsc files into .srs and then into .res files.  Add rules for the string extraction.  This would allow developers to count new strings and the buildbot could extract the new strings and upload them to the pootle server.&lt;br /&gt;
&lt;br /&gt;
[[Category:L10n]]&lt;/div&gt;</summary>
		<author><name>Mechtilde</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Translation_from_4.2&amp;diff=245470</id>
		<title>Translation from 4.2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Translation_from_4.2&amp;diff=245470"/>
		<updated>2019-01-06T17:39:07Z</updated>

		<summary type="html">&lt;p&gt;Mechtilde: /* From SVN to Pootle Web Frontend */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
This will be a brief documentation of the translation process&lt;br /&gt;
There are two steps doing at different time of the translation process.&lt;br /&gt;
== From SVN to Pootle Web Frontend ==&lt;br /&gt;
&lt;br /&gt;
In this step you prepare the recent code stings for translation. You prepare a template file with all strings to have to be translated. They are imported into Pootle.&lt;br /&gt;
&lt;br /&gt;
The following graphic shows it. Please click on it to get a larger one.&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:UebersetzungsProzess_Start.png|Graphical illustration of the technical workflow of the translation process&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Steps to do it ===&lt;br /&gt;
&lt;br /&gt;
# Create a build system&lt;br /&gt;
#* You can use your preferred Operating System&lt;br /&gt;
#* You can use this [https://wiki.openoffice.org/wiki/Building Building Guide] and the [https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Step_by_step Step-by-Step Guide] to do it.&lt;br /&gt;
#*:&lt;br /&gt;
# Checkout the recent code base (normally the trunk branch)&lt;br /&gt;
#* svn co https://svn.apache.org/repos/asf/openoffice/trunk aoo&lt;br /&gt;
#*:&lt;br /&gt;
# Build AOO successfully&lt;br /&gt;
#*:&lt;br /&gt;
# Create the template as en-US.sdf&lt;br /&gt;
#* Detailed description using&lt;br /&gt;
#*:&lt;br /&gt;
# &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now the teams can translate the [https://translate.apache.org/projects/aoo40 AOO UI] and the [https://translate.apache.org/projects/aoo40help AOO HELP].&lt;br /&gt;
&lt;br /&gt;
== From Pootle Web Frontend to SVN ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:UebersetzungsProzess_Finish.png|Graphical illustration of the technical workflow of the translation process&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- translation from/for? --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:DE]] &amp;lt;!-- author language --&amp;gt;&lt;br /&gt;
[[Category:EN]] &amp;lt;!-- text language --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mechtilde</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Localization_for_developers&amp;diff=245469</id>
		<title>Localization for developers</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Localization_for_developers&amp;diff=245469"/>
		<updated>2019-01-06T17:32:39Z</updated>

		<summary type="html">&lt;p&gt;Mechtilde: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Note|This article is outdated in some places, but still reflects the current process. See [[Localization AOO]] for a proposal, codename genLang, not implemented yet. We update the process under [[Translation_from_4.2|Translation since version 4.2]]}}&lt;br /&gt;
&lt;br /&gt;
==Overview==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Localization, often abreviated as l10n, from the perspective of the developer is a multi-step process that involves a variety of tools.  Most of these tools as well as the central data format (SDF) are specific to OpenOffice and not used anywhere else.  Only a part of the workflow is integrated into the build system.  Much of it requires manual steps to be taken.  Some of the tools involved are not part of the OpenOffice SVN and, due to a hard disk crash of the old pootle server, are lost.&lt;br /&gt;
&lt;br /&gt;
The actual translation is done with the help of a [http://translate.sourceforge.net/wiki/pootle/index pootle server].  Most of the localization workflow is about uploading and downloading data to/from the pootle server and about extraction/merging of strings from/into source files.&lt;br /&gt;
&lt;br /&gt;
The localization data can be found in [http://svn.apache.org/viewvc/incubator/ooo/trunk/extras/l10n/ extras/l10n], the tools are in [http://svn.apache.org/viewvc/incubator/ooo/trunk/main/l10ntools/ main/l10ntools].&lt;br /&gt;
&lt;br /&gt;
If you are looking for information about how to contribute translations then [[Localization|this page]] gives an (outdated) overview.&lt;br /&gt;
&lt;br /&gt;
==Workflow==&lt;br /&gt;
&lt;br /&gt;
The localization process consists of several steps.&lt;br /&gt;
The short version look like is this:&lt;br /&gt;
;[[#Content Creation|Content Creation]] &lt;br /&gt;
:Write code or help files or any other content that needs localization.&lt;br /&gt;
;[[#Extraction|Extraction]]&lt;br /&gt;
:Once in a while (for every milestone) the localize_sl script is used to extract the strings that need to be localized.&lt;br /&gt;
;[[#Upload|Upload]]&lt;br /&gt;
:The sdf file created by localize_sl is uploaded to the pootle server and transformed/converted into po files.&lt;br /&gt;
;[[#Translation|Translation]]&lt;br /&gt;
:Translation takes place, either directly via the pootle server&amp;#039;s html frontend or via an offline editor.&lt;br /&gt;
;[[#Download|Download]]&lt;br /&gt;
:The po files are eventually downloaded from the pootle server, converted into sdf files and checked for errors.&lt;br /&gt;
;[[#Integration|Integration]]&lt;br /&gt;
:When the office is built with configure switch --with-lang=&amp;quot;...&amp;quot; then the English strings are replaced by translated strings from the localize.sdf files.  The result is a localized install-set ready to use or a language pack that can be applied to an already installed office.&lt;br /&gt;
&lt;br /&gt;
===Content Creation===&lt;br /&gt;
Write text that needs to be localized.  This can be help files, configuration files (.xcu), or resource files (.rsc).  Source code does not contain localizable strings directly but uses resource files for that.&lt;br /&gt;
&lt;br /&gt;
===Extraction===&lt;br /&gt;
Once in a while (for every milestone) run solenv/bin/localize (which forwards the call to solver/340/&amp;lt;platform&amp;gt;/bin/localize_sl&amp;lt;.exe&amp;gt; which forwards it to solver/340/&amp;lt;platform&amp;gt;/bin/localize&amp;lt;.exe&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
localize iterates over all files in the source tree and searches for files that may contain strings that need localization.  The found files are processed with one of several extractors (implemented in a variety of languages: C++, Python, Java).  The result is one single sdf file.&lt;br /&gt;
&lt;br /&gt;
A typical call to localize looks like this:&lt;br /&gt;
    localize -e -l en-US -f foo.sdf&lt;br /&gt;
&lt;br /&gt;
The resulting foo.sdf.main (where does the .main suffix come from?) has at the moment (SVN revision 1237934) 72556 lines and 13,063,597 bytes.  45302 lines (9,026,966 bytes) of these belong to the helpcontent2 module.&lt;br /&gt;
&lt;br /&gt;
At the moment localize runs with errors on Windows: jpropex, a shell script that calls a java program does not run.  Linux is OK.&lt;br /&gt;
&lt;br /&gt;
Note: On Linux or MacOS you have to use a full qualified path to the output file. Otherwise you won&amp;#039;t get an output file and also no error. The tooling seems to be very error-prone. A lot of space for improvements.&lt;br /&gt;
&lt;br /&gt;
===Upload===&lt;br /&gt;
The sdf file created by localize is uploaded to the pootle server and transformed/converted into template pot files (not necessarily in this order). The existing templates (pot) files for the project should be updated and all languages should be synced against the new templates&lt;br /&gt;
&lt;br /&gt;
The helpcontent2 module is handled separately from the other modules, so as not to dishearten translators that work on the UI part (everything not helpcontent2) and do not see progress (due to the larger number of strings in helpcontent2.)&lt;br /&gt;
&lt;br /&gt;
We should create 2 separate projects: one for &amp;#039;&amp;#039;&amp;#039;UI&amp;#039;&amp;#039;&amp;#039; and one for &amp;#039;&amp;#039;&amp;#039;Help&amp;#039;&amp;#039;&amp;#039;. And we should keep it separated between versions because there will be probably some overlap with potential conflicts. Maybe an approach of keeping two versions in pootle to give translators the chance to work on translation after a release. And to allow future development toward the next release in parallel. &lt;br /&gt;
&lt;br /&gt;
For example something like:&lt;br /&gt;
* Apache OpenOffice 3.4 UI (aoo34)&lt;br /&gt;
* Apache OpenOffice 3.4 Help (aoo34help)&lt;br /&gt;
* Apache OpenOffice 4.0 UI (aoo40)&lt;br /&gt;
* Apache OpenOffice 4.0 Help (aoo40help)&lt;br /&gt;
&lt;br /&gt;
===Translation===&lt;br /&gt;
Translation takes place, either directly via the pootle server&amp;#039;s html frontend or via an offline editor.&lt;br /&gt;
&lt;br /&gt;
===Download===&lt;br /&gt;
The po files are eventually downloaded from the pootle server, converted into sdf (or converted and then downloaded) and and checked for various errors with gsicheck tool. Then they are integrated into the localize.sdf files in extras/l10n/source/&amp;lt;language&amp;gt;/&lt;br /&gt;
&lt;br /&gt;
===Integration===&lt;br /&gt;
When the office is built with configure switch --with-lang=&amp;quot;...&amp;quot;&lt;br /&gt;
then extras/l10n is built and the localize.sdf files are&lt;br /&gt;
rearranged.  In l10n they are grouped according to language.  Now&lt;br /&gt;
they are grouped according to module (and directory.) The sdf files&lt;br /&gt;
in extras/l10/&amp;lt;platform&amp;gt;/misc/sdf are zipped into one archive per&lt;br /&gt;
module and delivered into&lt;br /&gt;
main/solver/340/&amp;lt;platform&amp;gt;/sdf/&amp;lt;module&amp;gt;.zip and then forgotten (at&lt;br /&gt;
least for the processing of src files.)&lt;br /&gt;
&lt;br /&gt;
Resource files (src files) are processed when the other modules are&lt;br /&gt;
built.  The original src files contain strings only for en_US in&lt;br /&gt;
lines that look like&lt;br /&gt;
    Text [en_US] = &amp;quot;...&amp;quot;;&lt;br /&gt;
transex3 adds the missing languages by adding lines like&lt;br /&gt;
    Text [de] = &amp;quot;...&amp;quot;;&lt;br /&gt;
By default all (available) languages are added not just the ones&lt;br /&gt;
given to configure&amp;#039;s --with-lang switch.&lt;br /&gt;
The augmented src files are placed in &amp;lt;module&amp;gt;/&amp;lt;platform&amp;gt;/misc/...&lt;br /&gt;
These are then aggregated into some srs files in&lt;br /&gt;
&amp;lt;module&amp;gt;/&amp;lt;platform&amp;gt;/srs/.&lt;br /&gt;
In a (or several) following step(s) the srs files are aggregated into res files, one for each language.&lt;br /&gt;
&lt;br /&gt;
The resulting res files are delivered to main/solver and become part of the installation sets. Multi-language versions contain res files for more than one language.&lt;br /&gt;
&lt;br /&gt;
At runtime the ResMgr class from the tools module is responsible to use the resource files of the currently selected language whenever a string is requested (as is the case for e.g. all button texts and in general for all text visible in the GUI.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==File Formats==&lt;br /&gt;
&lt;br /&gt;
Quite a number of different file formats are involved in the localization process.  The following list is not complete and may be inaccurate:&lt;br /&gt;
;src&lt;br /&gt;
:    Source files of resources.  Most strings used in the GUI are defined in .src files.&lt;br /&gt;
;hrc&lt;br /&gt;
:    Header files of .src resource files.&lt;br /&gt;
;srs&lt;br /&gt;
:    Made by rsc (which calls rscpp and rsc2) from multiple src files with *all* language strings included.&lt;br /&gt;
;res&lt;br /&gt;
:    Created by transex3 from .srs files.&lt;br /&gt;
;sdf&lt;br /&gt;
:    Used to store localized/localizable strings and their origins.  Comparable to .po files.&lt;br /&gt;
;pot&lt;br /&gt;
:    Created by gettext from source files.  Contains strings that need translation.  Not used by OpenOffice.&lt;br /&gt;
;po&lt;br /&gt;
:    Contains the translated strings from a .pot file.  Used on the pootle server.&lt;br /&gt;
;xhp&lt;br /&gt;
:    Help files of OpenOffice.  Another source for strings that need translation.&lt;br /&gt;
;xliff&lt;br /&gt;
:    A format with the same usage of .po, but it has more functionalities and is standardized.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Tools==&lt;br /&gt;
&lt;br /&gt;
A large number of tools, implemented in a variety of languages (C++, Java, Perl, Python, sh) are involved in the localization process.  They mostly extract strings from source files and merge the translated strings back in, or transform between different data formats.&lt;br /&gt;
&lt;br /&gt;
The following list is not (yet) complete and may (still) be inaccurate:&lt;br /&gt;
;transex3&lt;br /&gt;
;rsc&lt;br /&gt;
;rscpp&lt;br /&gt;
;rsc2&lt;br /&gt;
;localize&lt;br /&gt;
;localize_sl&lt;br /&gt;
;xhtex&lt;br /&gt;
:   called from localize to extract strings from .tree or .xtx files.&lt;br /&gt;
;ulfex&lt;br /&gt;
:   called from localize to extract strings from .ulf files.&lt;br /&gt;
;xmlex&lt;br /&gt;
:   called from localize to extract strings from .xrb, .xxl, and .xgf files.&lt;br /&gt;
;cfgex&lt;br /&gt;
:   called from localize to extract strings from .xcd, .xcu, and .xcs files.&lt;br /&gt;
;xrmex&lt;br /&gt;
:   called from localize to extract strings from .xrm files.&lt;br /&gt;
;helpex&lt;br /&gt;
:   called from localize to extract strings from .xhp files.&lt;br /&gt;
;jpropex&lt;br /&gt;
:   called from localize to extract strings from .properties files.&lt;br /&gt;
&lt;br /&gt;
==Roundtrip==&lt;br /&gt;
The necessary steps to provide a full round trip of the localization. &lt;br /&gt;
&lt;br /&gt;
* From &amp;#039;&amp;#039;&amp;#039;resource&amp;#039;&amp;#039;&amp;#039; files to &amp;#039;&amp;#039;&amp;#039;sdf&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 cd main&lt;br /&gt;
 localize -e -l en-US -f en-US.sdf&lt;br /&gt;
&lt;br /&gt;
* From &amp;#039;&amp;#039;&amp;#039;sdf&amp;#039;&amp;#039;&amp;#039; to &amp;#039;&amp;#039;&amp;#039;pot&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
Use the generated en-US.sdf as source and create a set of template pot files for the Pootle project&lt;br /&gt;
 oo2po -P en-US.sdf templates&lt;br /&gt;
&lt;br /&gt;
This set of pot files in the directory &amp;#039;&amp;#039;&amp;#039;templates&amp;#039;&amp;#039;&amp;#039; should now be updated on the pootle server. Copy the complete &amp;#039;&amp;#039;templates&amp;#039;&amp;#039; directory in the &amp;#039;&amp;#039;po&amp;#039;&amp;#039; directory of the Pootle server in the related propject directory.&lt;br /&gt;
&lt;br /&gt;
For example assuming our project id is &amp;#039;&amp;#039;aoo34&amp;#039;&amp;#039; and the Pootle server is under &amp;#039;&amp;#039;/var/www/Pootle&amp;#039;&amp;#039;&lt;br /&gt;
 cp -r templates /var/www/Pootle/po/aoo34/templates&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;NOTE&amp;#039;&amp;#039;&amp;#039;: Don&amp;#039;t forget to move the &amp;#039;&amp;#039;helpcontent2&amp;#039;&amp;#039; directory and copy it in the templates directory of the corresponding &amp;#039;&amp;#039;aoo34help&amp;#039;&amp;#039; project.&lt;br /&gt;
&lt;br /&gt;
Update all existing languages to be aligned with the new templates.&lt;br /&gt;
 cd /var/www/Pootle&lt;br /&gt;
 ./manage.py update_from_templates --project=aoo34&lt;br /&gt;
or &lt;br /&gt;
 ./manage.py update_from_templates --project=aoo34 --language=de &lt;br /&gt;
to update a specific language. Probably it is also possible to specify both projects with &amp;#039;&amp;#039;--project=aoo34, aoo34help&amp;#039;&amp;#039; and a list of languages with &amp;#039;&amp;#039;--language=de,fr,es,...&amp;#039;&amp;#039; (not tested it yet)&lt;br /&gt;
If you update &amp;#039;&amp;#039;po&amp;#039;&amp;#039; files for an existing language (translated external) you should update the stores with&lt;br /&gt;
 ./manage.py update_translation_projects --project=aoo34,aoo34help&lt;br /&gt;
 ./manage.py update_stores  --project=aoo34,aoo34help [--language=de,fr,es,...]&lt;br /&gt;
&lt;br /&gt;
* from &amp;#039;&amp;#039;&amp;#039;po&amp;#039;&amp;#039;&amp;#039; to &amp;#039;&amp;#039;&amp;#039;sdf&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
First step is to resync the database into the &amp;#039;&amp;#039;&amp;#039;po&amp;#039;&amp;#039;&amp;#039; files because otherwise the made changes are only in the database. For example sync the UI strings for &amp;#039;&amp;#039;de&amp;#039;&amp;#039; back into the &amp;#039;&amp;#039;po&amp;#039;&amp;#039; files. &lt;br /&gt;
 ./manage.py sync_stores --project=aoo34 --language=de&lt;br /&gt;
&lt;br /&gt;
The next step is create a new &amp;#039;&amp;#039;&amp;#039;sdf&amp;#039;&amp;#039;&amp;#039; based on this updated &amp;#039;&amp;#039;&amp;#039;po&amp;#039;&amp;#039;&amp;#039; files.&lt;br /&gt;
 po2oo -l de -t en-US.sdf --keeptimestamp --skipsource de new_de.sdf&lt;br /&gt;
This command used the template en-US.sdf and created a new &amp;#039;&amp;#039;&amp;#039;sdf&amp;#039;&amp;#039;&amp;#039; file containing the new &amp;#039;&amp;#039;de&amp;#039;&amp;#039; translations. If you skip the parameter &amp;#039;&amp;#039;skipsource&amp;#039;&amp;#039; the &amp;#039;&amp;#039;en-US&amp;#039;&amp;#039; source translations are also included in the &amp;#039;&amp;#039;sdf&amp;#039;&amp;#039; file. Can be useful for some verification.&lt;br /&gt;
&lt;br /&gt;
This &amp;#039;&amp;#039;&amp;#039;new_de.sdf&amp;#039;&amp;#039;&amp;#039; has to be copied in &amp;#039;&amp;#039;&amp;#039;extras/l18n/source/de/localize.sdf&amp;#039;&amp;#039;&amp;#039; and used for the next build.&lt;br /&gt;
&lt;br /&gt;
===Update to new templates===&lt;br /&gt;
When we have created a new set of templates based on the latest UI changes we have to synchronize the Pootle data accordingly.&lt;br /&gt;
Let assume we are currently in some temp directory and have existing po files in &amp;#039;&amp;#039;&amp;#039;aoo34/es/...&amp;#039;&amp;#039;&amp;#039; and have new templates in &amp;#039;&amp;#039;&amp;#039;aoo34/templates/...&amp;#039;&amp;#039;&amp;#039; then we can create a new set of po files with&lt;br /&gt;
 pot2po -t aoo34/es aoo34/templates es_new&lt;br /&gt;
This command will merge the existing translations found in &amp;#039;&amp;#039;&amp;#039;aoo34/es&amp;#039;&amp;#039;&amp;#039; and merge them with the new templates and stores the new po files in *es_new*. This new po files can be copied in the Pootle project directory &amp;#039;&amp;#039;&amp;#039;&amp;lt;pootle_install_dir&amp;gt;/po/aoo34/es&amp;#039;&amp;#039;&amp;#039;. The database have to be synchronized with the new po files&lt;br /&gt;
 cd &amp;lt;pootle_install_dir&amp;gt;&lt;br /&gt;
 ./manage.py update_stores --project=aoo34 --language=es&lt;br /&gt;
&lt;br /&gt;
==Critique==&lt;br /&gt;
The current localization workflow as outlined above has several drawbacks.&lt;br /&gt;
&lt;br /&gt;
*The workflow looks more like an ad-hoc solution than a designed approach.&lt;br /&gt;
*The tools involved are written in a variety of languages: C++, Java, Perl, and Python.  This is not bad in itself. For example it makes sense to parse Java property files with Java code.  But there is also C++ code for iterating over the tree of source files that uses hard coded lists of other executables and scripts for processing individual files.  That leads to many processes to be created and destroyed, something that is notoriously slow on Windows.&lt;br /&gt;
*Some of the tools are not used anymore.  For example I did not find any .xtx, .xrb, .xxl, .xgf, or .xcd files. Therefore the xbtxex and xmlex tools can be dropped. (May have already happened for xmlex)  Others are used but do not run (like the jpropex tool). And then there is our own preprocessor for handling resource files, which might be replaceable by the standard C/C++ preprocessor (which parses the included hrc files anyway since they are included in C++ code.)&lt;br /&gt;
*OpenOffice uses its own non-standard file format (SDF) for handling localized strings.  In order to use a pootle server for the actual translation, all .sdf files have to be transformed into .po files and, after translation, back into .sdf files. It should be also taken into consideration a future migration to xliff format for translation handout. &lt;br /&gt;
*The localization workflow is convoluted and hard to understand.  Much tooling is involved outside the build process.  This results in a manual process that is undocumented and known only to a select few.  Some of this tooling seems to be lost after a disk crash of the old OpenOffice pootle server: it was not even contained in the source code repository.&lt;br /&gt;
&lt;br /&gt;
==Outlook==&lt;br /&gt;
&lt;br /&gt;
Here is a list of things for improving the localization workflow:&lt;br /&gt;
*Understand the current workflow better by analyzing and documenting it.&lt;br /&gt;
*Get rid of the .sdf files.  Use the .po or .xliff files directly.  The file format does not seem to be much more complicated.  The transformation from .sdf to .po and back again would not longer be necessary.  Widely used tools (used and developed outside the OpenOffice project) could be used.&lt;br /&gt;
*Streamline the number and implementation of the tools used for extraction and merging of localizable strings.  Use the right language for each task.&lt;br /&gt;
*Integrate the string extraction into the build process.  Most of the files that can contain localizable strings are already part of the build system, mostly for the merge process.  For example there are make-rules for transforming and merging rsc files into .srs and then into .res files.  Add rules for the string extraction.  This would allow developers to count new strings and the buildbot could extract the new strings and upload them to the pootle server.&lt;br /&gt;
&lt;br /&gt;
[[Category:L10n]]&lt;/div&gt;</summary>
		<author><name>Mechtilde</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Translation_from_4.2&amp;diff=245468</id>
		<title>Translation from 4.2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Translation_from_4.2&amp;diff=245468"/>
		<updated>2019-01-06T13:52:41Z</updated>

		<summary type="html">&lt;p&gt;Mechtilde: /* From SVN to Pootle Web Frontend */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
This will be a brief documentation of the translation process&lt;br /&gt;
There are two steps doing at different time of the translation process.&lt;br /&gt;
== From SVN to Pootle Web Frontend ==&lt;br /&gt;
&lt;br /&gt;
In this step you prepare the recent code stings for translation. You prepare a template file with all strings to have to be translated. They are imported into Pootle.&lt;br /&gt;
&lt;br /&gt;
The following graphic shows it. Please click on it to get a larger one.&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:UebersetzungsProzess_Start.png|Graphical illustration of the technical workflow of the translation process&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the teams can translate the [https://translate.apache.org/projects/aoo40 AOO UI] and the [https://translate.apache.org/projects/aoo40help AOO HELP].&lt;br /&gt;
&lt;br /&gt;
== From Pootle Web Frontend to SVN ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:UebersetzungsProzess_Finish.png|Graphical illustration of the technical workflow of the translation process&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- translation from/for? --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:DE]] &amp;lt;!-- author language --&amp;gt;&lt;br /&gt;
[[Category:EN]] &amp;lt;!-- text language --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mechtilde</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Translation_from_4.2&amp;diff=245467</id>
		<title>Translation from 4.2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Translation_from_4.2&amp;diff=245467"/>
		<updated>2019-01-06T13:51:50Z</updated>

		<summary type="html">&lt;p&gt;Mechtilde: /* From SVN to Pootle Web Frontend */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
This will be a brief documentation of the translation process&lt;br /&gt;
There are two steps doing at different time of the translation process.&lt;br /&gt;
== From SVN to Pootle Web Frontend ==&lt;br /&gt;
&lt;br /&gt;
In this step you prepare the recent code stings for translation. You prepare a template file with all strings to have to be translated. They are imported into Pootle.&lt;br /&gt;
&lt;br /&gt;
The following graphic shows it. Please click on it to get a larger one.&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:UebersetzungsProzess_Start.png|Graphical illustration of the technical workflow of the translation process&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the teams can translate the [https://translate.apache.org/projects/aoo40 | AOO UI] and the [https://translate.apache.org/projects/aoo40help | AOO HELP].&lt;br /&gt;
&lt;br /&gt;
== From Pootle Web Frontend to SVN ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:UebersetzungsProzess_Finish.png|Graphical illustration of the technical workflow of the translation process&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- translation from/for? --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:DE]] &amp;lt;!-- author language --&amp;gt;&lt;br /&gt;
[[Category:EN]] &amp;lt;!-- text language --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mechtilde</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Translation_from_4.2&amp;diff=245466</id>
		<title>Translation from 4.2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Translation_from_4.2&amp;diff=245466"/>
		<updated>2019-01-06T13:46:46Z</updated>

		<summary type="html">&lt;p&gt;Mechtilde: /* From SVN to Pootle Web Frontend */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
This will be a brief documentation of the translation process&lt;br /&gt;
There are two steps doing at different time of the translation process.&lt;br /&gt;
== From SVN to Pootle Web Frontend ==&lt;br /&gt;
&lt;br /&gt;
In this step you prepare the recent code stings for translation. You prepare a template file with all strings to have to be translated. They are imported into Pootle.&lt;br /&gt;
&lt;br /&gt;
The following graphic shows it. Please click on it to get a larger one.&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:UebersetzungsProzess_Start.png|Graphical illustration of the technical workflow of the translation process&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the teams can translate the [[https://translate.apache.org/projects/aoo40 | AOO UI]] and the [[https://translate.apache.org/projects/aoo40help | AOO HELP]].&lt;br /&gt;
&lt;br /&gt;
== From Pootle Web Frontend to SVN ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:UebersetzungsProzess_Finish.png|Graphical illustration of the technical workflow of the translation process&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- translation from/for? --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:DE]] &amp;lt;!-- author language --&amp;gt;&lt;br /&gt;
[[Category:EN]] &amp;lt;!-- text language --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mechtilde</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Translation_from_4.2&amp;diff=245465</id>
		<title>Translation from 4.2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Translation_from_4.2&amp;diff=245465"/>
		<updated>2019-01-06T13:35:17Z</updated>

		<summary type="html">&lt;p&gt;Mechtilde: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
This will be a brief documentation of the translation process&lt;br /&gt;
There are two steps doing at different time of the translation process.&lt;br /&gt;
== From SVN to Pootle Web Frontend ==&lt;br /&gt;
&lt;br /&gt;
In this step you prepare the recent code stings for translation. This means you prepare a template file with all strings to have to be translated. They are imported into pootle.&lt;br /&gt;
&lt;br /&gt;
The following graphic shows it. Please click on it to get a larger graphic of it.&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:UebersetzungsProzess_Start.png|Graphical illustration of the technical workflow of the translation process&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the teams can translate the [[https://translate.apache.org/projects/aoo40 | AOO UI]] and the [[https://translate.apache.org/projects/aoo40help | AOO HELP]].&lt;br /&gt;
&lt;br /&gt;
== From Pootle Web Frontend to SVN ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:UebersetzungsProzess_Finish.png|Graphical illustration of the technical workflow of the translation process&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- translation from/for? --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:DE]] &amp;lt;!-- author language --&amp;gt;&lt;br /&gt;
[[Category:EN]] &amp;lt;!-- text language --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mechtilde</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=File:UebersetzungsProzess_Start.png&amp;diff=245337</id>
		<title>File:UebersetzungsProzess Start.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=File:UebersetzungsProzess_Start.png&amp;diff=245337"/>
		<updated>2018-12-31T21:34:31Z</updated>

		<summary type="html">&lt;p&gt;Mechtilde: Graphical illustration of the technical workflow of the translation process. 
CC by-sa&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Graphical illustration of the technical workflow of the translation process. &lt;br /&gt;
CC by-sa&lt;/div&gt;</summary>
		<author><name>Mechtilde</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Translation_from_4.2&amp;diff=245336</id>
		<title>Translation from 4.2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Translation_from_4.2&amp;diff=245336"/>
		<updated>2018-12-31T21:31:15Z</updated>

		<summary type="html">&lt;p&gt;Mechtilde: /* Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
This will be a brief documentation of the translation process&lt;br /&gt;
&lt;br /&gt;
== From SVN to Pootle Web Frontend ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:UebersetzungsProzess_Start.png|Graphical illustration of the technical workflow of the translation process&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== From Pootle Web Frontend to SVN ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:UebersetzungsProzess_Finish.png|Graphical illustration of the technical workflow of the translation process&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- translation from/for? --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:DE]] &amp;lt;!-- author language --&amp;gt;&lt;br /&gt;
[[Category:EN]] &amp;lt;!-- text language --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mechtilde</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=File:UebersetzungsProzess_Finish.png&amp;diff=245335</id>
		<title>File:UebersetzungsProzess Finish.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=File:UebersetzungsProzess_Finish.png&amp;diff=245335"/>
		<updated>2018-12-31T20:25:19Z</updated>

		<summary type="html">&lt;p&gt;Mechtilde: Mechtilde uploaded a new version of &amp;amp;quot;File:UebersetzungsProzess Finish.png&amp;amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Graphical illustration of the technical workflow of the translation process.&lt;br /&gt;
&lt;br /&gt;
Lizenz: CC by-sa&lt;/div&gt;</summary>
		<author><name>Mechtilde</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Translation_from_4.2&amp;diff=245334</id>
		<title>Translation from 4.2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Translation_from_4.2&amp;diff=245334"/>
		<updated>2018-12-31T20:19:46Z</updated>

		<summary type="html">&lt;p&gt;Mechtilde: /* Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
This will be a brief documentation of the translation process&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:UebersetzungsProzess_Finish.png|Graphical illustration of the technical workflow of the translation process&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- translation from/for? --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:DE]] &amp;lt;!-- author language --&amp;gt;&lt;br /&gt;
[[Category:EN]] &amp;lt;!-- text language --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mechtilde</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Translation_from_4.2&amp;diff=245333</id>
		<title>Translation from 4.2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Translation_from_4.2&amp;diff=245333"/>
		<updated>2018-12-31T20:17:37Z</updated>

		<summary type="html">&lt;p&gt;Mechtilde: /* Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
This will be a brief documentation of the translation process&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:UebersetzungsProzess_Finish.png|200px|left|Graphical illustration of the technical workflow of the translation process&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- translation from/for? --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:DE]] &amp;lt;!-- author language --&amp;gt;&lt;br /&gt;
[[Category:EN]] &amp;lt;!-- text language --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mechtilde</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=File:UebersetzungsProzess_Finish.png&amp;diff=245332</id>
		<title>File:UebersetzungsProzess Finish.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=File:UebersetzungsProzess_Finish.png&amp;diff=245332"/>
		<updated>2018-12-31T20:15:10Z</updated>

		<summary type="html">&lt;p&gt;Mechtilde: Graphical illustration of the technical workflow of the translation process.

Lizenz: CC by-sa&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Graphical illustration of the technical workflow of the translation process.&lt;br /&gt;
&lt;br /&gt;
Lizenz: CC by-sa&lt;/div&gt;</summary>
		<author><name>Mechtilde</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Translation_from_4.2&amp;diff=245331</id>
		<title>Translation from 4.2</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Translation_from_4.2&amp;diff=245331"/>
		<updated>2018-12-31T20:10:34Z</updated>

		<summary type="html">&lt;p&gt;Mechtilde: /* Description */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
This will be a brief documentation of the translation process&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:Beispiel.jpg|Beschreibung1&lt;br /&gt;
File:Beispiel.jpg|Beschreibung2&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- translation from/for? --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:DE]] &amp;lt;!-- author language --&amp;gt;&lt;br /&gt;
[[Category:EN]] &amp;lt;!-- text language --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mechtilde</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Translation_for_2.3&amp;diff=244550</id>
		<title>Translation for 2.3</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Translation_for_2.3&amp;diff=244550"/>
		<updated>2018-12-27T08:41:07Z</updated>

		<summary type="html">&lt;p&gt;Mechtilde: /* General Process */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For the translation update of the [[OpenOffice.org]] [[OOoRelease23|2.3 version]] a number of native language Communities has volunteered to contribute to the translation work for which Sun usually provides translation:&lt;br /&gt;
&lt;br /&gt;
The Communities who have adhered to this initiative are:&lt;br /&gt;
&lt;br /&gt;
* Dutch Community&lt;br /&gt;
* French Community&lt;br /&gt;
* Germanophone Community&lt;br /&gt;
* Italian Community&lt;br /&gt;
* Spanish Community&lt;br /&gt;
* Brazilian Community&lt;br /&gt;
* Swedish Community&lt;br /&gt;
* Russian Community&lt;br /&gt;
* Chinese Community - &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;new on board!&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Schedule ==&lt;br /&gt;
&lt;br /&gt;
Due to the large translaiton volume that needs to be updated, for this release there will be 2 translation hand-offs:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;1st translation hand-off - COMPLETED&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
Translation start date: June 7th &amp;lt;br&amp;gt;&lt;br /&gt;
Translation delivery date: July 5th at noon CET &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Estimated volume: approx. 25,000 words&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;2nd translation hand-off&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
Translation start date: July 12th &amp;lt;br&amp;gt;&lt;br /&gt;
Translation delivery date: July 26th at noon CET &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Estimated volume: approx: 7,000 words&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Release Map with translation deadlines specific for the 2.3 release can be found at:&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/OOoRelease23&lt;br /&gt;
&lt;br /&gt;
== General Process ==&lt;br /&gt;
&lt;br /&gt;
The files to be translated by the Community members will be in SDF file format and will be delivered as zip file attached to an l10n issue. The&lt;br /&gt;
SDF file format - which can be read and edited with a simple text editor - can be converted into .po files. Once the Communities have finalized the translation of the files, they will backconvert the po files into sdf file format, run the gsicheck on the sdf file, make corrections in the file in case or errors and return the issue to the submitter attaching the translated files. &lt;br /&gt;
The Sun Language Leads will then perform linguistic review on the translated files and will provide their feedback to the n-l communities via QA matrix attached to the issue. No changes will be carried out in the files translated by the community members unless there is a common agreement on the changes. Changes in the translated files which are not exlicitely declared as show stopper in Issue Tracker will be integrated into the next release. All Communities receiving a QA matrix will need to carry out the changes in the previously translated files and return to Sun within 2 weeks from the QA matrix delivery date.&lt;br /&gt;
&lt;br /&gt;
== Process Step by Step ==&lt;br /&gt;
&lt;br /&gt;
* Sun creates issues and attaches .sdf files to translate (volume to be decided by each Community based on their availability and resources)&lt;br /&gt;
* Issues will be assigned to the translation  Community leads&lt;br /&gt;
* Community converts into po files (if any problem with that we will take over conversion)&lt;br /&gt;
* Community translates the files using a  translation .po editor&lt;br /&gt;
* Community back converts the .po files into .sdf&lt;br /&gt;
* Community runs gsicheck on sdf and delivers back to Sun&lt;br /&gt;
* Sun will import the translated files into 2.3&lt;br /&gt;
* Language lead will carry our linguistic review&lt;br /&gt;
* Community will implement linguistic review results into translated files and deliver updated files 2 weeks after QA matrix delivery.&lt;br /&gt;
&lt;br /&gt;
== Issues containing .sdf files ==&lt;br /&gt;
&lt;br /&gt;
* Bengali: [http://qa.openoffice.org/issues/show_bug.cgi?id=64726 issue 64726]&lt;br /&gt;
* Italian: [http://qa.openoffice.org/issues/show_bug.cgi?id=78145 issue 78145]&lt;br /&gt;
* French: [http://qa.openoffice.org/issues/show_bug.cgi?id=78172 issue 78172]&lt;br /&gt;
* German: [http://qa.openoffice.org/issues/show_bug.cgi?id=78173 issue 78173]&lt;br /&gt;
* Spanish: [http://qa.openoffice.org/issues/show_bug.cgi?id=78174 issue 78174]&lt;br /&gt;
* Swedish: [http://qa.openoffice.org/issues/show_bug.cgi?id=78176 issue 78176]&lt;br /&gt;
* Dutch: [http://qa.openoffice.org/issues/show_bug.cgi?id=78177 issue 78177]&lt;br /&gt;
* Brazilian Portuguese: [http://qa.openoffice.org/issues/show_bug.cgi?id=78179 issue 78179]&lt;br /&gt;
* Russian: [http://qa.openoffice.org/issues/show_bug.cgi?id=78180 issue 78180]&lt;br /&gt;
* Simplified Chinese: [http://qa.openoffice.org/issues/show_bug.cgi?id=78180 issue 78163]&lt;br /&gt;
&lt;br /&gt;
== Tips and Tools ==&lt;br /&gt;
&lt;br /&gt;
Team:&lt;br /&gt;
&lt;br /&gt;
build a team of  translators and 1-2 reviewers to work on the project. I recommend to keep the number of the reviewers to 1-2 people, since the more translators and reviewers working on the project, the less you can ensure quality and consistency. For all the above language there is a Sun Language Lead who may consulted in case of language related questions.&lt;br /&gt;
&lt;br /&gt;
Glossary:&lt;br /&gt;
&lt;br /&gt;
SunGloss (https://g11nportal.sun.com/sungloss) is the repository of the latest terminology used in the [[StarOffice]]/OpenOffice.org product. You can request access to consult the tool. We recommend to use SunGloss instead of a spreadsheet because it shows all entries (including deleted entries that were used but not anymore). In this way it&amp;#039;s possible for all to look at the evolution of a translation, and discuss about it when it&amp;#039;s needed, especially during the review process.&lt;br /&gt;
&lt;br /&gt;
Tools:&lt;br /&gt;
&lt;br /&gt;
The .sdf file can be converted to .po files using the oo2po tool and converted&lt;br /&gt;
back to .sdf format using the po2oo tool from the Translate Toolkit package:&lt;br /&gt;
http://translate.sourceforge.net/&lt;br /&gt;
&lt;br /&gt;
Documentation with examples for conversion and backconversion can be found at:&lt;br /&gt;
http://translate.sourceforge.net/wiki/toolkit/oo2po&lt;br /&gt;
&lt;br /&gt;
gsicheck to make sure the translated .sdf files are not corrupted can be found at:&lt;br /&gt;
http://ooo.services.openoffice.org/gsicheck/&lt;br /&gt;
&lt;br /&gt;
The most used translation editors supporting the .po file format are:&lt;br /&gt;
&lt;br /&gt;
* http://www.poedit.net/&lt;br /&gt;
* http://kbabel.kde.org/&lt;br /&gt;
* http://gtranslator.sourceforge.net/&lt;br /&gt;
&lt;br /&gt;
poEdit runs both on Windows and Linux. Kbabel runs on Linux only but it seems to be more professional. Please add further information on these and other tools that may help other translators to perform their job.&lt;br /&gt;
&lt;br /&gt;
== Roles and Responsibilities ==&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background:#cccccc&amp;quot;&lt;br /&gt;
! Language !! N-L Lead&amp;lt;br&amp;gt;main contact(s) !! Language Lead !! Central Engineer(s) !! Project Lead !! Other&lt;br /&gt;
|-&lt;br /&gt;
| Brazilian Portuguese || Olivier Halllot &amp;lt;br&amp;gt; Claudio Filho || Augusta Marques Da Silva || Petr Dudacek || Rafaella Braconi || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Dutch || Arthur  Buijs|| Natalie Koning || Petr Dudacek || Rafaella Braconi || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| French || Sophie Gautier || Elsa Blume || Petr Dudacek || Rafaella Braconi || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| German || Jacqueline Rahemipour &amp;lt;br&amp;gt; Marko Moeller|| Berit Bonde || Petr Dudacek || Rafaella Braconi || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Italian || Andrea Pescetti &amp;lt;br&amp;gt; Alessandro Cattelan || Monica Badia || Petr Dudacek || Rafaella Braconi || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Russian || Rail Aliev || TBD || Petr Dudacek || Rafaella Braconi || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Spanish || Santiago Bosio &amp;lt;br&amp;gt; Alexandro Colorado || Aridane Vilardane-Viegra || Petr Dudacek || Rafaella Braconi || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Swedish || Lars D. Noodén &amp;lt;br&amp;gt; Erik Magnus Johansson || Sofia Nilsson || Petr Dudacek || Rafaella Braconi || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Simplified Chinese || Lin Cheng &amp;lt;br&amp;gt; || Joy Zhang || Aijin Kim || Rafaella Braconi || &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Files for Translation ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Q &amp;amp; A ==&lt;br /&gt;
&lt;br /&gt;
This session will be filled in with Q &amp;amp; As which will be raised and answered during the translation initiative&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Q: Which is the total wordcount estimated for the update 2.3 release?&amp;#039;&amp;#039;&amp;#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;A&amp;#039;&amp;#039;&amp;#039;: The estimated total wordcount is 25,000 words. GUI approx. 3000 words, Online Help approx. 22,000 words. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Q: Is there any tool which can convert automatically a two-language text glossary into a PO file, for example the glossary extracted from the SunGloss? &amp;#039;&amp;#039;&amp;#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;A:&amp;#039;&amp;#039;&amp;#039; Open your text file in OOo Calc as a CSV file and choose &amp;quot;tab&amp;quot; as the delimiter. Save it as a normal CSV file (comma seperated) and then you&lt;br /&gt;
can convert it to PO using csv2po from the translate toolkit. Here is the documentation for that: http://translate.sourceforge.net/wiki/toolkit/csv2po. If you still have some issues please note that you need to make a _comma_ separated file. This is the format that the converter is expecting. Does OOo Calc give the option of choosing the delimiter style?  Perhaps it is using the tabs because the initial file had them. Then you might need to open the file in a text editor and replace the tabs with commas. Take note of the expected file format that csv2po expects (three columns with source and target in the second and third columns respectively). It might be easiest to ensure that your file has this format, otherwise you will have to specify the format using the --columnorder parameter.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Q: How do I handle translation bugs?&amp;#039;&amp;#039;&amp;#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;A:&amp;#039;&amp;#039;&amp;#039; Please read the process to follow at: http://wiki.services.openoffice.org/wiki/Handling_Translation_Issues. Also be careful before suggesting major terminology changes and carefully evaluate the impact the change will have. It will cause a major rework since all GUI strings, Online Help as well as all documetation will need to be readapted to the new terminology to make sure that the program is consistent in all its components. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Q: Can I use Pootle to translate the files for the 2.3 update release?&amp;#039;&amp;#039;&amp;#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;A:&amp;#039;&amp;#039;&amp;#039; Currently, only Russian Italian and Khmer have been uploaded to the Pootle server hosted on the Sun virtuallab. Please see details at:&lt;br /&gt;
http://wiki.services.openoffice.org/wiki/New_Translation_Process_%28Pootle_server%29 &amp;lt;br&amp;gt;&lt;br /&gt;
The 3 above languages are the only ones which will be using Pootle to translate the 2.3 version since we are in the initial/pilot phase.&lt;br /&gt;
If everything goes well or at least we sort our the issues and we are able to fix them, all other languages and team that want to be added to this tool are more than welcome to join. That would be for the 2.4 release. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Q: During translation I see many strings already translated which do not match exactly with the English source: shall I leave them as they are or should I change them?&amp;#039;&amp;#039;&amp;#039;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;A:&amp;#039;&amp;#039;&amp;#039; The translated strings you see need to be readjusted to reflect the English source. They are most probably translations of previous versions when the English source was different. Whenever an English string gets updated the translation of that string before modification is maintained because in most of the case it contains useful terminology that may be reused for updating the string. Sometimes the changes are really minimal, sometimes it&amp;#039;s not the string but the tags in it which have changed or sometimes a typo in the English text has been fixed so that in the end you don&amp;#039;t need to change anything in the translated text ... but sometimes you may need to retranslate the string completely.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Localization]]&lt;/div&gt;</summary>
		<author><name>Mechtilde</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:Mechtilde/AOOTranslation&amp;diff=244534</id>
		<title>User:Mechtilde/AOOTranslation</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:Mechtilde/AOOTranslation&amp;diff=244534"/>
		<updated>2018-12-06T18:41:26Z</updated>

		<summary type="html">&lt;p&gt;Mechtilde: /* In Progress */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Status Translation AOO 4.2-dev ==&lt;br /&gt;
&lt;br /&gt;
with the recent template (13.11.2018)&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Language&lt;br /&gt;
! ISO-Code&lt;br /&gt;
! AOO40UI&lt;br /&gt;
! AOO40HELP&lt;br /&gt;
! Build&lt;br /&gt;
|-&lt;br /&gt;
| Dutch&lt;br /&gt;
| nl&lt;br /&gt;
| 100 %&lt;br /&gt;
| 100 %&lt;br /&gt;
| [http://home.apache.org/~mechtilde/NewBuild/Apache_OpenOffice_4.2.0_Linux_x86-64_install-rpm_nl.tar.gz RPM]&lt;br /&gt;
|-&lt;br /&gt;
| Lithuanian&lt;br /&gt;
| lt&lt;br /&gt;
| 100 %&lt;br /&gt;
| &lt;br /&gt;
| [http://home.apache.org/~mechtilde/NewBuild/Apache_OpenOffice_4.2.0_Linux_x86-64_install-rpm_lt.tar.gz RPM]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== In Progress ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Language&lt;br /&gt;
! ISO-Code&lt;br /&gt;
! AOO40UI&lt;br /&gt;
! AOO40HELP&lt;br /&gt;
! Build&lt;br /&gt;
|-&lt;br /&gt;
| Arabian&lt;br /&gt;
| ar&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| [http://home.apache.org/~mechtilde/NewBuild/Apache_OpenOffice_4.2.0_Linux_x86-64_install-rpm_ar.tar.gz RPM]&lt;br /&gt;
|-&lt;br /&gt;
| French&lt;br /&gt;
| fr&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| [https://ci.apache.org/projects/openoffice/install/linux64/ fr-Build]&lt;br /&gt;
|-&lt;br /&gt;
| German&lt;br /&gt;
| de&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| [https://ci.apache.org/projects/openoffice/install/linux64/ de-Build]&lt;br /&gt;
|-&lt;br /&gt;
| Hebrew&lt;br /&gt;
| he&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| [https://ci.apache.org/projects/openoffice/install/linux64/ he-Build]&lt;br /&gt;
|-&lt;br /&gt;
| Hungarian&lt;br /&gt;
| hu&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| Italian&lt;br /&gt;
| it&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| [https://ci.apache.org/projects/openoffice/install/linux64/ it-Build]&lt;br /&gt;
|-&lt;br /&gt;
| Japanese&lt;br /&gt;
| ja&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| [https://ci.apache.org/projects/openoffice/install/linux64/ ja-Build]&lt;br /&gt;
|-&lt;br /&gt;
| Kabyle&lt;br /&gt;
| kab&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| [http://home.apache.org/~mechtilde/NewBuild/Apache_OpenOffice_4.2.0_Linux_x86-64_install-rpm_kab.tar.gz RPM]&lt;br /&gt;
|-&lt;br /&gt;
| Polish&lt;br /&gt;
| pl&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| [http://home.apache.org/~mechtilde/NewBuild/Apache_OpenOffice_4.2.0_Linux_x86-64_install-rpm_pl.tar.gz RPM]&lt;br /&gt;
|-&lt;br /&gt;
| Portuguese&lt;br /&gt;
| pt&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| [https://ci.apache.org/projects/openoffice/install/linux64/ pt-Build]&lt;br /&gt;
|-&lt;br /&gt;
| Romanian&lt;br /&gt;
| ro&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| [http://home.apache.org/~mechtilde/NewBuild/Apache_OpenOffice_4.2.0_Linux_x86-64_install-rpm_ro.tar.gz PRM]&lt;br /&gt;
|-&lt;br /&gt;
| Spanish&lt;br /&gt;
| es&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| [https://ci.apache.org/projects/openoffice/install/linux64/ es-Build]&lt;br /&gt;
|-&lt;br /&gt;
| Ukrainian&lt;br /&gt;
| uk&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| [http://home.apache.org/~mechtilde/NewBuild/Apache_OpenOffice_4.2.0_Linux_x86-64_install-rpm_uk.tar.gz RPM]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Mechtilde</name></author>
	</entry>
</feed>