Page 1 of 1

How to build libreoffice with local help

Posted: 3. Apr 2022, 08:57
by djemos

Re: How to build libreoffice with local help

Posted: 4. Apr 2022, 17:19
by gapan
Oh nice djemos! Thanks!

Re: How to build libreoffice with local help

Posted: 4. Apr 2022, 18:18
by djemos
Some information from the tests i did to find what is wrong.

deleting /usr/lib64/libreoffice/help/languages.js file after installing the package then the online help is triggered. This is the file so the LibreOffice to know what to use.

Some other things:
--with-system-libnumbertext is need otherwise LibreOffice download its own version 0.9.5 and SLKBUILD stop and is asking user to replace some files.
--with-external-tar=$SRC or --with-external-tar=$startdir/src is needed otherwise build fails i think because cannot finds some files since uses own path src/libreoffice-7.3.2.2/external/tarballs
--without-helppack-integration removed because disables local help and not build at least en-US local help files which have to be included in default English version with also the dict-en_US files.
--with-help=html builds the local help
--disable-fetch-external is needed to not download files again which also cause build to fail.