Make installer compression tool configurable

Desktop / LibreOffice - Thorsten Behrens [allotropia.de] - 22 January 2022 09:14 UTC

So we can use pigz or other parallelizable tools if available. Shaves off noticeable build time when packaging install sets.

- figure out if pigz is available (fallback to gzip otherwise)- pass compression tool down into make_installer- and handle as one of many global options there

Change-Id: Ia9d1ea27a9f990874238b6f0be3e1fd30a662ec6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128469

b8278d93bbf8 Make installer compression tool configurable
config_host.mk.in | 1 +
configure.ac | 10 ++++++++++
instsetoo_native/CustomTarget_install.mk | 1 +
solenv/bin/modules/installer/download.pm | 2 +-
solenv/bin/modules/installer/epmfile.pm | 4 ++--
solenv/bin/modules/installer/globals.pm | 2 ++
solenv/bin/modules/installer/helppack.pm | 2 +-
solenv/bin/modules/installer/languagepack.pm | 2 +-
solenv/bin/modules/installer/parameter.pm | 2 ++
solenv/bin/modules/installer/simplepackage.pm | 2 +-
solenv/bin/modules/installer/worker.pm | 2 +-
11 files changed, 23 insertions(+), 7 deletions(-)

Upstream: cgit.freedesktop.org


  • Share