Development/Setting-up a Build Environment
'This is a work in progress, not ready for prime time yet'
There are multiple way to setup your build environment, depending on your goals, your tastes.
The most common way, which is also going to be the setup for which you will find the most readily available help, is to use our git repos, and to submit patches via gerrit.
A less common way, mostly used by ditro-maintainers, is to build based on released tarball of the source.
Setup a build environment based on git
- You need to register toLibreOffice's gerrit. References to
<ssh_key>in the rest of this page, this refer to the username and ssh_key you used during your Gerrit registration.
- If you are using Windows, you need a cygwin environement
- Optionally, you may want to install LibreOffice's own version of gmake. It has been patched to fix some performances issues, and to add some feature to debug Makefiles.
- For the rest of this document, it is assumed that you have a directory called
/lowith 20GB+ or so available.
- For the rest of this document, it is assumed that you have en entry in your
ssh logerrituse the right port, the right user and the right hostname to do gerrit opreration, as explained in the Gerrit registration help
Cloning the source repository
First we grab a copy of the core repository:
n_th@tpa10 ~ ()$ cd /lo n_th@tpa10 /lo ()$ git clone git://gerrit.libreoffice.org/core Cloning into 'core'... remote: Counting objects: 2639906, done. remote: Compressing objects: 100% (545444/545444), done. remote: Total 2639906 (delta 2012790), reused 2633100 (delta 2006089) Receiving objects: 100% (2639906/2639906), 688.69 MiB | 1.29 MiB/s, done. Resolving deltas: 100% (2012790/2012790), done. n_th@tpa10 /fast ()$ cd core n_th@tpa10 /fast/core (master)$