Docker container for building LibreOffice

Eike Rathke erack at redhat.com
Fri Jul 24 07:02:10 PDT 2015


Hi Dashamir,

On Friday, 2015-07-24 14:48:16 +0200, Dashamir Hoxha wrote:

> https://github.com/FreeSoft-AL/libreoffice-compile/blob/master/compile/git-clean.sh

That's IMHO not only unnecessary but also incomplete. When doing git
checkout in core only you'll miss the corresponding submodule checkouts,
i.e. dictionaries, translations and helpcontent2. You may not need them
if you didn't configure so, but just make using ./g a habit when
switching branches or for pulls. ./g takes care of submodules, it
applies the git command you specify also to the submodules. Note also
that you should not use git pull but git pull -r (for rebase) instead to
not introduce merge commits.

> (because I didn't know about `g`)

I think that's mentioned several times in the build instructions in the
wiki, but maybe not everywhere where needed.. note it is ./g and not
only g, because it is a script in the source root directory.

However, to switch branches to build (e.g. the 5-0 branch) it usually is
sufficient to

./g checkout libreoffice-5-0
make clean
make

You can of course also issue a git clean before to get rid of sporadic
untracked files.

  Eike

-- 
LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
GPG key "ID" 0x65632D3A - 2265 D7F3 A7B0 95CC 3918  630B 6A6C D5B7 6563 2D3A
Better use 64-bit 0x6A6CD5B765632D3A here is why: https://evil32.com/
Care about Free Software, support the FSFE https://fsfe.org/support/?erack
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20150724/8beda062/attachment.sig>


More information about the LibreOffice mailing list