office-gobmx/readlicense_oo
Ilmari Lauhakangas 06e81f5783 Update readme files after Windows runtime baseline bump to 10
Change-Id: I9b26bed6eb02f4df59c1ffaa5d28aa50aa1cb6c9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178091
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2024-12-08 17:04:19 +01:00
..
docs Update readme files after Windows runtime baseline bump to 10 2024-12-08 17:04:19 +01:00
license update credits 2024-11-08 12:18:09 +01:00
CustomTarget_license.mk
CustomTarget_readme.mk Some missing readme PRODUCTNAME parametrization 2024-11-13 08:03:53 +01:00
Makefile
Module_readlicense_oo.mk
Package_files.mk
Package_license.mk
Package_readlicense_oo_readmes.mk
README.md

LibreOffice Licensing Blurb

Contains the stock libreoffice licensing blurb, as distributed in the install directory, and also potentially at run-time.

Generating Licence Files

License files are generated from a single source file (license/license.xml). Output file formats are plain text and html.

  • The plain text and the html format is generated with XSLT. There are two separate XSL files for plain text and html.

Conditional Text

The contents of the license file depends on the build configuration. Several externals may or may not be shipped with LibreOffice. Therefore, we need to pass information about build configuration to the XSLT processor.

Variables used for conditional text:

  • BUILD_TYPE: A space separated list of libraries/externals. If an external is present in that list, then the related license text should be included.

  • MPL_SUBSET: If the variable is defined, then GPL and LGPL license text will not be included, because none of the built-in code need it.

  • OS: The target platform. E.g. MSVC Runtime is packaged and used only on Windows.

  • WITH_THEMES: A space separated list of icon sets that are used in the build.

Conditional text are surrounded by and extra <div> tag. The class attribute of that <div> tag decides which parameter values are taken into consideration.